changeset 3741:7236ae349494 beta

fixed displaying of add user group button for super admins
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 11 Apr 2013 21:21:59 +0200
parents ea2c948a49b8
children 7d988c308533
files rhodecode/templates/admin/users_groups/users_groups.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/admin/users_groups/users_groups.html	Thu Apr 11 16:55:39 2013 +0200
+++ b/rhodecode/templates/admin/users_groups/users_groups.html	Thu Apr 11 21:21:59 2013 +0200
@@ -21,7 +21,7 @@
     <div class="title">
         ${self.breadcrumbs()}
         <ul class="links">
-        %if h.HasPermissionAny('hg.usergroup.create.true')():
+        %if h.HasPermissionAny('hg.admin', 'hg.usergroup.create.true')():
           <li>
             <span>${h.link_to(_(u'Add new user group'),h.url('new_users_group'))}</span>
           </li>