Mercurial > kallithea
diff rhodecode/templates/admin/users_groups/users_groups.html @ 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 | 46b17730ca32 |
children |
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>