From e2f691c9eb53c6a9c8b02b740b444e6d558e35e8 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 12 Dec 2005 11:12:25 +0000 Subject: Bug 271596: editcomponents priv allows you to see/edit products you don't have access to - Patch by Frédéric Buclin r=wicked a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/global/user-error.html.tmpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'template/en/default') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index e911b39d2..350f2c8a0 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1015,6 +1015,10 @@ create the milestone '[% defaultmilestone FILTER html %]' before it can be made the default milestone for product '[% product FILTER html %]'. + [% ELSIF error == "product_access_denied" %] + [% title = "Product Access Denied" %] + You are not allowed to edit properties of product '[% product FILTER html %]'. + [% ELSIF error == "product_blank_name" %] [% title = "Blank Product Name Not Allowed" %] You must enter a name for the new product. -- cgit v1.2.3-24-g4f1b