Commit a11c67b7 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 525254: editproducts.cgi shouldn't display the "Edit classification 'Foo'"…

Bug 525254: editproducts.cgi shouldn't display the "Edit classification 'Foo'" link if you haven't editclassifications privs - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
parent ed629ca0
......@@ -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>.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment