summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-26 05:19:44 +0200
committerlpsolit%gmail.com <>2006-08-26 05:19:44 +0200
commit298bffb5b496415b2f42d705e3d0fb4038a19194 (patch)
treeca3085978d6f92f042f0870fd1c06aafefe344fb /template/en/default
parentf86bdf887f419be90115e641047c3f24d41d167f (diff)
downloadbugzilla-298bffb5b496415b2f42d705e3d0fb4038a19194.tar.gz
bugzilla-298bffb5b496415b2f42d705e3d0fb4038a19194.tar.xz
Bug 350181: Check whether the requestee is allowed to set a flag - Patch by Frédéric Buclin <LpSolit@gmail.com> a=myk
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/global/user-error.html.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 4a5634d4a..76823cdbc 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -475,7 +475,13 @@
'flags.html' => 'Using Flags'} %]
You can't ask more than one person at a time for
<em>[% type.name FILTER html %]</em>.
-
+
+ [% ELSIF error == "flag_requestee_needs_privs" %]
+ [% title = "Flag Requestee Needs Privileges" %]
+ [% requestee.identity FILTER html %] does not have permission to set the
+ <em>[% flagtype.name FILTER html %]</em> flag. Please select a user who is
+ a member of the <em>[% flagtype.grant_group.name FILTER html %]</em> group.
+
[% ELSIF error == "flag_requestee_unauthorized" %]
[% title = "Flag Requestee Not Authorized" %]
[% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags',