Skip to content

Commit

Permalink
Clarify editor permissions
Browse files Browse the repository at this point in the history
Revoke misleading user create/batch privileges.

(fix omeka#1856)
  • Loading branch information
zerocrates committed Jun 20, 2022
1 parent b86254c commit 71c2d6c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions application/src/Service/AclFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ protected function addRulesForAuthor(Acl $acl)
);
$acl->allow(
'author',
'Omeka\Controller\Admin\ResourceTemplate',
'Omeka\Controller\Admin\ResourceTemplate',
['add-new-property-row', 'import']
);
$acl->allow(
Expand Down Expand Up @@ -768,7 +768,8 @@ protected function addRulesForEditor(Acl $acl)
);
$acl->allow(
'editor',
'Omeka\Api\Adapter\UserAdapter'
'Omeka\Api\Adapter\UserAdapter',
['read', 'update', 'search']
);
$acl->allow(
'editor',
Expand Down

0 comments on commit 71c2d6c

Please sign in to comment.