mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Let's not remove all_users here since it shall be added if visitors are allowed
This commit is contained in:
parent
e9c01c2f89
commit
d966407ff0
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class MyMigration(Migration):
|
||||||
|
|
||||||
# Migrate classic public app still using the legacy unprotected_uris
|
# Migrate classic public app still using the legacy unprotected_uris
|
||||||
if app_setting(app, "unprotected_uris") == "/" or app_setting(app, "skipped_uris") == "/":
|
if app_setting(app, "unprotected_uris") == "/" or app_setting(app, "skipped_uris") == "/":
|
||||||
user_permission_update(app+".main", remove="all_users", add="visitors", sync_perm=False)
|
user_permission_update(app+".main", add="visitors", sync_perm=False)
|
||||||
|
|
||||||
permission_sync_to_user()
|
permission_sync_to_user()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue