mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Keep track of the 'sublabel' for sub-permissions... c.f. also webadmin
This commit is contained in:
parent
092caba505
commit
c2b24d1e1c
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue