diff --git a/rhodecode/templates/admin/permissions/permissions.html b/rhodecode/templates/admin/permissions/permissions.html
--- a/rhodecode/templates/admin/permissions/permissions.html
+++ b/rhodecode/templates/admin/permissions/permissions.html
@@ -135,7 +135,7 @@
## permissions overview
<%namespace name="p" file="/base/perms_summary.html"/>
- ${p.perms_summary(c.perm_user.permissions)}
+ ${p.perms_summary(c.perm_user.permissions, show_all=True)}
diff --git a/rhodecode/templates/admin/users/user_edit.html b/rhodecode/templates/admin/users/user_edit.html
--- a/rhodecode/templates/admin/users/user_edit.html
+++ b/rhodecode/templates/admin/users/user_edit.html
@@ -154,7 +154,7 @@
## permissions overview
<%namespace name="p" file="/base/perms_summary.html"/>
- ${p.perms_summary(c.perm_user.permissions)}
+ ${p.perms_summary(c.perm_user.permissions, show_all=True)}
diff --git a/rhodecode/templates/base/perms_summary.html b/rhodecode/templates/base/perms_summary.html
--- a/rhodecode/templates/base/perms_summary.html
+++ b/rhodecode/templates/base/perms_summary.html
@@ -3,7 +3,7 @@
## <%namespace name="p" file="/base/perms_summary.html"/>
## ${p.perms_summary(c.perm_user.permissions)}
-<%def name="perms_summary(permissions)">
+<%def name="perms_summary(permissions, show_all=False)">
%for section in sorted(permissions.keys()):
${section.replace("_"," ").capitalize()}
@@ -12,6 +12,7 @@
%else:
+ ## global permission box
%if section == 'global':
@@ -39,6 +40,7 @@
%for k, section_perm in sorted(permissions[section].items(), key=lambda s: s[1]+s[0].lower()):
+ %if section_perm.split('.')[-1] != 'none' or show_all:
%if section == 'repositories':
@@ -63,6 +65,7 @@
%endif
|
+ %endif
%endfor
%endif