mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Copy pasta typo : all_users -> visitors
Co-Authored-By: Josue-T <josue@tille.ch>
This commit is contained in:
parent
2a5053b66b
commit
35bfe97d50
1 changed files with 1 additions and 1 deletions
|
@ -678,7 +678,7 @@ def user_group_update(operation_logger, groupname, add=None, remove=None, force=
|
||||||
if not force:
|
if not force:
|
||||||
if groupname == "all_users":
|
if groupname == "all_users":
|
||||||
raise YunohostError('group_cannot_edit_all_users')
|
raise YunohostError('group_cannot_edit_all_users')
|
||||||
elif groupname == "all_users":
|
elif groupname == "visitors":
|
||||||
raise YunohostError('group_cannot_edit_visitors')
|
raise YunohostError('group_cannot_edit_visitors')
|
||||||
elif groupname in existing_users:
|
elif groupname in existing_users:
|
||||||
raise YunohostError('group_cannot_edit_primary_group', group=groupname)
|
raise YunohostError('group_cannot_edit_primary_group', group=groupname)
|
||||||
|
|
Loading…
Add table
Reference in a new issue