mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix smoll bug
This commit is contained in:
parent
b9aa5d143f
commit
8a1cc89d97
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ def app_map(app=None, raw=False, user=None):
|
|||
for perm_name, perm_info in this_app_perms.items():
|
||||
# If we're building the map for a specific user, check the user
|
||||
# actually is allowed for this specific perm
|
||||
if user and user not in perm_info["corresponding_users"] and "visitors" not in perm_info["allowed"]:
|
||||
if user and user not in perm_info["corresponding_users"]:
|
||||
continue
|
||||
if perm_info["url"].startswith("re:"):
|
||||
# Here, we have an issue if the chosen url is a regex, because
|
||||
|
|
Loading…
Add table
Reference in a new issue