diff --git a/rhodecode/templates/admin/users/user_edit_my_account.html b/rhodecode/templates/admin/users/user_edit_my_account.html --- a/rhodecode/templates/admin/users/user_edit_my_account.html +++ b/rhodecode/templates/admin/users/user_edit_my_account.html @@ -185,6 +185,14 @@ %for k in c.rhodecode_user.permissions[section]: + <% + if section != 'global': + section_perm = c.rhodecode_user.permissions[section].get(k) + _perm = section_perm.split('.')[-1] + else: + _perm = section_perm = None + %> + %if _perm not in ['none']: %if section == 'repositories': @@ -199,10 +207,11 @@ %if section == 'global': ${h.bool2icon(True)} %else: - ${c.rhodecode_user.permissions[section].get(k)} + ${section_perm} %endif + %endif %endfor