summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-11-04 00:48:32 +0100
committerlpsolit%gmail.com <>2009-11-04 00:48:32 +0100
commita11c67b765790d7e8d5c1bb8651b0496a043311a (patch)
tree70f729eb6a90447f34150836b8c77f46a43b0db3
parented629ca0a2680ebeed503ca7d071fbf8ab8dfbec (diff)
downloadbugzilla-a11c67b765790d7e8d5c1bb8651b0496a043311a.tar.gz
bugzilla-a11c67b765790d7e8d5c1bb8651b0496a043311a.tar.xz
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>.