aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-11-03 23:48:32 +0000
committerlpsolit%gmail.com <>2009-11-03 23:48:32 +0000
commita11c67b765790d7e8d5c1bb8651b0496a043311a (patch)
tree70f729eb6a90447f34150836b8c77f46a43b0db3
parentBug 526271: Uninitialized value in can_enter_product() due to a missing argum... (diff)
downloadbugzilla-a11c67b765790d7e8d5c1bb8651b0496a043311a.tar.gz
bugzilla-a11c67b765790d7e8d5c1bb8651b0496a043311a.tar.bz2
bugzilla-a11c67b765790d7e8d5c1bb8651b0496a043311a.zip
Bug 525254: editproducts.cgi shouldn't display the "Edit classification 'Foo'" link if you haven't editclassifications privs - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
-rw-r--r--template/en/default/admin/products/footer.html.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/admin/products/footer.html.tmpl b/template/en/default/admin/products/footer.html.tmpl
index c35551748..661829b7c 100644
--- a/template/en/default/admin/products/footer.html.tmpl
+++ b/template/en/default/admin/products/footer.html.tmpl
@@ -75,7 +75,8 @@
[% END %]
-[% IF Param('useclassification') && classification %]
+[% IF Param('useclassification') && classification
+ && user.in_group('editclassifications') %]
Edit classification <a href="editclassifications.cgi?action=edit
[%- classification_url_part %]">'
[%- classification.name FILTER html %]'</a>.