mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Sync permissions only after we're done migrating them, otherwise this triggers a shitload of warnings
This commit is contained in:
parent
3f80fe4e93
commit
089b3cf973
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ class MyMigration(Migration):
|
||||||
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", remove="all_users", add="visitors", sync_perm=False)
|
||||||
|
|
||||||
permission_sync_to_user()
|
permission_sync_to_user()
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue