From 8a1cc89d9787b5c4d39945d7b7ffa72355f11ce7 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Mon, 23 Mar 2020 00:40:22 +0100 Subject: [PATCH] Fix smoll bug --- src/yunohost/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index c71162494..65782f56a 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -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