Skip to content

Commit

Permalink
Merge pull request #426 from andrewandante/ENH/add_CAN_DEV_BUILD_perm…
Browse files Browse the repository at this point in the history
…ission

ENH add CAN_DEV_BUILD to non_live_permissions
  • Loading branch information
GuySartorelli authored Nov 10, 2023
2 parents cccdb23 + 044bdb0 commit 2f335f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Versioned.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ class Versioned extends DataExtension implements TemplateGlobalProvider, Resetta
* @config
* @var array
*/
private static $non_live_permissions = ['CMS_ACCESS_LeftAndMain', 'CMS_ACCESS_CMSMain', 'VIEW_DRAFT_CONTENT'];
private static $non_live_permissions = ['CMS_ACCESS_LeftAndMain', 'CMS_ACCESS_CMSMain', 'VIEW_DRAFT_CONTENT', 'CAN_DEV_BUILD'];

/**
* Use PHP's session storage for the "reading mode" and "unsecuredDraftSite",
Expand Down

0 comments on commit 2f335f5

Please sign in to comment.