mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Avoid admin part of apps to be reachable from visitors
This commit is contained in:
parent
e1062f1457
commit
29bd3c4a26
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ def migrate_legacy_permission_settings(app=None):
|
|||
if protected_urls != []:
|
||||
permission_create(app + ".legacy_protected_uris", additional_urls=protected_urls,
|
||||
auth_header=True, label=legacy_permission_label(app, "protected"),
|
||||
show_tile=False, allowed=user_permission_list()['permissions'][app + ".main"]['allowed'],
|
||||
show_tile=False, allowed=[],
|
||||
protected=True, sync_perm=False)
|
||||
|
||||
legacy_permission_settings = [
|
||||
|
|
Loading…
Add table
Reference in a new issue