mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] app_removeaccess call set.add
This commit is contained in:
parent
aa82bc4a54
commit
7f1d9fb81e
1 changed files with 1 additions and 1 deletions
|
@ -1036,7 +1036,7 @@ def app_removeaccess(auth, apps, users=[]):
|
|||
else:
|
||||
for allowed_user in user_list(auth)['users'].keys():
|
||||
if allowed_user not in users:
|
||||
allowed_users.append(allowed_user)
|
||||
allowed_users.add(allowed_user)
|
||||
|
||||
operation_logger.related_to += [ ('user', x) for x in allowed_users ]
|
||||
operation_logger.flush()
|
||||
|
|
Loading…
Add table
Reference in a new issue