From a11c67b765790d7e8d5c1bb8651b0496a043311a Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 3 Nov 2009 23:48:32 +0000 Subject: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/admin/products/footer.html.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'template/en') 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 ' [%- classification.name FILTER html %]'. -- cgit v1.2.3-24-g4f1b