[ taoItems_actions_Items::class => [ 'editClassLabel' => [ TaoItemsRoles::ITEM_CLASS_NAVIGATOR => ActionAccessControl::READ, TaoItemsRoles::ITEM_CLASS_EDITOR => ActionAccessControl::WRITE, ], 'editItem' => [ TaoItemsRoles::ITEM_VIEWER => ActionAccessControl::READ, TaoItemsRoles::ITEM_PROPERTIES_EDITOR => ActionAccessControl::WRITE, ], ], taoItems_actions_ItemContent::class => [ 'viewAsset' => [ TaoItemsRoles::ITEM_CLASS_NAVIGATOR => ActionAccessControl::DENY, ], 'previewAsset' => [ TaoItemsRoles::ITEM_CLASS_NAVIGATOR => ActionAccessControl::DENY, ], 'downloadAsset' => [ TaoItemsRoles::ITEM_CLASS_NAVIGATOR => ActionAccessControl::DENY, ], 'uploadAsset' => [ TaoItemsRoles::ITEM_CLASS_NAVIGATOR => ActionAccessControl::DENY, ], 'deleteAsset' => [ TaoItemsRoles::ITEM_CLASS_NAVIGATOR => ActionAccessControl::DENY, ], ], ], ]; public function __invoke($params = []) { $setRolesAccess = $this->propagate(new SetRolesAccess()); $setRolesAccess([ '--' . SetRolesAccess::OPTION_CONFIG, self::CONFIG, ]); } }