From 80c434b3c9afec9ba606e5061ef042d3b96720d3 Mon Sep 17 00:00:00 2001 From: Simon Green Date: Sat, 14 Jun 2014 15:22:22 +1000 Subject: Bug 1012508 - Add a admin_menu hook to change who has access to admin.cgi r=gerv, a=sgreen --- template/en/default/global/common-links.html.tmpl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'template/en/default/global') diff --git a/template/en/default/global/common-links.html.tmpl b/template/en/default/global/common-links.html.tmpl index c6c8863c5..ec23f551e 100644 --- a/template/en/default/global/common-links.html.tmpl +++ b/template/en/default/global/common-links.html.tmpl @@ -53,11 +53,7 @@ [% IF user.login %]
  • | Preferences
  • - [% IF user.in_group('tweakparams') || user.in_group('editusers') || user.can_bless - || (Param('useclassification') && user.in_group('editclassifications')) - || user.in_group('editcomponents') || user.in_group('admin') || user.in_group('creategroups') - || user.in_group('editkeywords') || user.in_group('bz_canusewhines') - || user.get_products_by_permission("editcomponents").size %] + [% IF user.can_administer %]
  • | Administration
  • [% END %] -- cgit v1.2.1