Skip to content

Commit 72fb370

Browse files
committed
Allow site admins normal ability to edit self even if they can't
add new users
1 parent 7b60f8d commit 72fb370

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Module.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,9 @@ protected function addAclRules()
251251
$acl->deny(
252252
'site_admin',
253253
'Omeka\Entity\User',
254-
['create', 'update', 'delete', 'change-password', 'edit-keys']
254+
['create', 'delete', 'change-password', 'edit-keys']
255255
);
256+
256257
}
257258

258259
$acl->allow(

0 commit comments

Comments
 (0)