From c2b24d1e1c429322204c36be2bcb01c7bbed104e Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 29 Oct 2020 21:02:08 +0100 Subject: [PATCH] Keep track of the 'sublabel' for sub-permissions... c.f. also webadmin --- src/yunohost/permission.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/yunohost/permission.py b/src/yunohost/permission.py index 1e76c6bd9..789c18b7e 100644 --- a/src/yunohost/permission.py +++ b/src/yunohost/permission.py @@ -102,6 +102,7 @@ def user_permission_list(short=False, full=False, ignore_system_perms=False, abs logger.debug("Uhoh, unknown permission %s ? (Maybe we're in the process or deleting the perm for this app...)" % main_perm_name) continue main_perm_label = permissions[main_perm_name]["label"] + infos["sublabel"] = infos["label"] infos["label"] = "%s (%s)" % (main_perm_label, infos["label"]) if short: