From: lpsolit%gmail.com <> Date: Tue, 3 Nov 2009 23:50:20 +0000 (+0000) Subject: Bug 525254: editproducts.cgi shouldn't display the "Edit classification 'Foo'" link... X-Git-Tag: bugzilla-3.4.3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fefb846bb3628c269665aaae38257df4a449c524;p=thirdparty%2Fbugzilla.git Bug 525254: editproducts.cgi shouldn't display the "Edit classification 'Foo'" link if you haven't editclassifications privs - Patch by Frédéric Buclin r=ghendricks a=LpSolit --- diff --git a/template/en/default/admin/products/footer.html.tmpl b/template/en/default/admin/products/footer.html.tmpl index c355517489..661829b7c9 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 ' [%- classification.name FILTER html %]'.