Skip to content

Commit

Permalink
ENH add CAN_DEV_BUILD to non_live_permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewandante committed Nov 5, 2023
1 parent 79bfcc4 commit 044bdb0
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 @@ -282,7 +282,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 044bdb0

Please sign in to comment.