From 7fa61b49f403e8894622640fb1f5c5d47495521c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 23 Nov 2019 19:27:18 +0100 Subject: [PATCH] Typo fix lost in the merges... --- src/yunohost/permission.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yunohost/permission.py b/src/yunohost/permission.py index dabd2b054..ad06c0487 100644 --- a/src/yunohost/permission.py +++ b/src/yunohost/permission.py @@ -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