mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Typo fix lost in the merges...
This commit is contained in:
parent
1b26675f18
commit
7fa61b49f4
1 changed files with 2 additions and 2 deletions
|
@ -464,9 +464,9 @@ def _update_ldap_group_permission(permission, allowed, sync_perm=True):
|
|||
effectively_removed_users = old_allowed_users - new_allowed_users
|
||||
|
||||
if effectively_added_users:
|
||||
hook_callback('post_app_addaccess', args=[app, ','.join(effectively_added_users, sub_permission)])
|
||||
hook_callback('post_app_addaccess', args=[app, ','.join(effectively_added_users), sub_permission])
|
||||
if effectively_removed_users:
|
||||
hook_callback('post_app_removeaccess', args=[app, ','.join(effectively_removed_users, sub_permission)])
|
||||
hook_callback('post_app_removeaccess', args=[app, ','.join(effectively_removed_users), sub_permission])
|
||||
|
||||
return new_permission
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue