From 298bffb5b496415b2f42d705e3d0fb4038a19194 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 26 Aug 2006 03:19:44 +0000 Subject: =?UTF-8?q?Bug=20350181:=20Check=20whether=20the=20requestee=20is?= =?UTF-8?q?=20allowed=20to=20set=20a=20flag=20-=20Patch=20by=20Fr=C3=A9d?= =?UTF-8?q?=C3=A9ric=20Buclin=20=20a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/global/user-error.html.tmpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (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 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 [% type.name FILTER html %]. - + + [% ELSIF error == "flag_requestee_needs_privs" %] + [% title = "Flag Requestee Needs Privileges" %] + [% requestee.identity FILTER html %] does not have permission to set the + [% flagtype.name FILTER html %] flag. Please select a user who is + a member of the [% flagtype.grant_group.name FILTER html %] group. + [% ELSIF error == "flag_requestee_unauthorized" %] [% title = "Flag Requestee Not Authorized" %] [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags', -- cgit v1.2.1