diff options
author | travis%sedsystems.ca <> | 2005-01-21 08:22:07 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-01-21 08:22:07 +0100 |
commit | 4f4c25bb8d7bacecad8f69363d96483ea92ffc32 (patch) | |
tree | 5cd1417f8950deb82704370283e1eb0bc5c5229b /template/en/default/global/user-error.html.tmpl | |
parent | 61a49f228204e2991aea7970c44efdd433f8c71b (diff) | |
download | bugzilla-4f4c25bb8d7bacecad8f69363d96483ea92ffc32.tar.gz bugzilla-4f4c25bb8d7bacecad8f69363d96483ea92ffc32.tar.xz |
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
Diffstat (limited to 'template/en/default/global/user-error.html.tmpl')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 12 |
1 files changed, 8 insertions, 4 deletions
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 <strong>[% field_descs.$field FILTER html %]</strong> field from <em>[% oldvalue FILTER html %]</em> to - <em>[% newvalue FILTER html %]</em>, - but only the owner or submitter of the [% terms.bug %], or a - sufficiently empowered user, may change that field. - + <em>[% newvalue FILTER html %]</em>, 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 <em>Changed in last ___ days</em> field must be a simple number. |