From 4f4c25bb8d7bacecad8f69363d96483ea92ffc32 Mon Sep 17 00:00:00 2001
From: "travis%sedsystems.ca" <>
Date: Fri, 21 Jan 2005 07:22:07 +0000
Subject: Bug 266579 : Users without privs can confirm bugs by assigning to
themselves first, without having canconfirm privs Patch by LpSolit@gmail.com
r=myk a=justdave
---
template/en/default/global/user-error.html.tmpl | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
(limited to 'template/en/default/global/user-error.html.tmpl')
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index aa4a43286..5ea789a2f 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -436,10 +436,14 @@
You tried to change the
[% field_descs.$field FILTER html %] field
from [% oldvalue FILTER html %] to
- [% newvalue FILTER html %],
- but only the owner or submitter of the [% terms.bug %], or a
- sufficiently empowered user, may change that field.
-
+ [% newvalue FILTER html %], but only
+ [% IF privs < 3 %]
+ the owner
+ [% IF privs < 2 %] or reporter [% END %]
+ of the [% terms.bug %], or
+ [% END %]
+ a sufficiently empowered user may change that field.
+
[% ELSIF error == "illegal_changed_in_last_x_days" %]
[% title = "Your Search Makes No Sense" %]
The Changed in last ___ days field must be a simple number.
--
cgit v1.2.3-24-g4f1b