Typo fix lost in the merges...

This commit is contained in:
Alexandre Aubin 2019-11-23 19:27:18 +01:00
parent 1b26675f18
commit 7fa61b49f4

View file

@ -464,9 +464,9 @@ def _update_ldap_group_permission(permission, allowed, sync_perm=True):
effectively_removed_users = old_allowed_users - new_allowed_users effectively_removed_users = old_allowed_users - new_allowed_users
if effectively_added_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: 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 return new_permission