diff --git a/src/dataobjects/DynamicList.php b/src/dataobjects/DynamicList.php index 1035714..676bab3 100644 --- a/src/dataobjects/DynamicList.php +++ b/src/dataobjects/DynamicList.php @@ -78,7 +78,7 @@ public function canView($member = null) */ public function canEdit($member = null) { - return Permission::check('CMS_ACCESS_DynamicListAdmin', 'any', $member); + return Permission::check('CMS_ACCESS_Symbiote\DynamicLists\DynamicListAdmin', 'any', $member); } /** @@ -87,7 +87,7 @@ public function canEdit($member = null) */ public function canDelete($member = null) { - return Permission::check('CMS_ACCESS_DynamicListAdmin', 'any', $member); + return Permission::check('CMS_ACCESS_Symbiote\DynamicLists\DynamicListAdmin', 'any', $member); } /** @@ -98,7 +98,7 @@ public function canDelete($member = null) */ public function canCreate($member = null, $context = array()) { - return Permission::check('CMS_ACCESS_DynamicListAdmin', 'any', $member); + return Permission::check('CMS_ACCESS_Symbiote\DynamicLists\DynamicListAdmin', 'any', $member); } /** diff --git a/src/dataobjects/DynamicListItem.php b/src/dataobjects/DynamicListItem.php index 8f3e5d3..6a95ede 100644 --- a/src/dataobjects/DynamicListItem.php +++ b/src/dataobjects/DynamicListItem.php @@ -71,7 +71,7 @@ public function canView($member = null) */ public function canEdit($member = null) { - return Permission::check('CMS_ACCESS_DynamicListAdmin', 'any', $member); + return Permission::check('CMS_ACCESS_Symbiote\DynamicLists\DynamicListAdmin', 'any', $member); } /** @@ -80,7 +80,7 @@ public function canEdit($member = null) */ public function canDelete($member = null) { - return Permission::check('CMS_ACCESS_DynamicListAdmin', 'any', $member); + return Permission::check('CMS_ACCESS_Symbiote\DynamicLists\DynamicListAdmin', 'any', $member); } /** @@ -91,6 +91,6 @@ public function canDelete($member = null) */ public function canCreate($member = null, $context = array()) { - return Permission::check('CMS_ACCESS_DynamicListAdmin', 'any', $member); + return Permission::check('CMS_ACCESS_Symbiote\DynamicLists\DynamicListAdmin', 'any', $member); } }