diff options
author | myk%mozilla.org <> | 2005-04-22 11:17:14 +0200 |
---|---|---|
committer | myk%mozilla.org <> | 2005-04-22 11:17:14 +0200 |
commit | 1f6e1616c3e2f66d1982809a8d399129911d242b (patch) | |
tree | 26a4f2582b8e73dbd1195b2d24f0df9cded3d2d0 /template/en/default | |
parent | 993f0b3529d4c708fcbaa3fc8efcdeee9e1775d5 (diff) | |
download | bugzilla-1f6e1616c3e2f66d1982809a8d399129911d242b.tar.gz bugzilla-1f6e1616c3e2f66d1982809a8d399129911d242b.tar.xz |
Fix for bug 291391: allows users to rerequest set flags even if they don't have the privilege to set them; r=lpsolit; a=myk
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index f5bb9703b..98cd7418b 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -442,12 +442,10 @@ [% title = "Flag Modification Denied" %] You tried to [% IF status == "+" %] grant [% ELSIF status == "-" %] deny [% ELSIF status == "X" %] clear [% ELSE %] request [% END %] - <code>[% name FILTER html %]</code> - [% IF status == "?" && old_status != "X" %], but this flag is already - set[% END %]. - Only a sufficiently empowered user [% IF status == "X" %] or the user who - set <code>[% name FILTER html %][% old_status FILTER html %]</code> in - the first place [% END %] can make this change. + <code>[% name FILTER html %] + [% IF status == "X" %][% old_status FILTER html %][% END %]</code>. + + Only a sufficiently empowered user can make this change. [% ELSIF error == "format_not_found" %] [% title = "Format Not Found" %] |