aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authormyk%mozilla.org <>2003-04-25 12:41:20 +0000
committermyk%mozilla.org <>2003-04-25 12:41:20 +0000
commit47c010537c77f8e7e09e6c19246cdbecbb7b5a26 (patch)
tree515f996ddc173bcae29f0ede8f77de48d59bc6f4 /template
parentadc665e91aa228734632e51cb42d671bbbab9f7f (diff)
downloadbugs-47c010537c77f8e7e09e6c19246cdbecbb7b5a26.tar
bugs-47c010537c77f8e7e09e6c19246cdbecbb7b5a26.tar.gz
bugs-47c010537c77f8e7e09e6c19246cdbecbb7b5a26.tar.bz2
bugs-47c010537c77f8e7e09e6c19246cdbecbb7b5a26.tar.xz
bugs-47c010537c77f8e7e09e6c19246cdbecbb7b5a26.zip
Fix for bug 179510: takes group restrictions into account when sending request notifications
r=bbaetz,jpreed a=justdave
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/user-error.html.tmpl21
1 files changed, 21 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 934c0511f..1aaa581b6 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -180,6 +180,27 @@
format like JPG or PNG, or put it elsewhere on the web and
link to it from the bug's URL field or in a comment on the bug.
+ [% ELSIF error == "flag_requestee_unauthorized" %]
+ [% title = "Flag Requestee Not Authorized" %]
+
+ You asked [% requestee.identity FILTER html %]
+ for <code>[% flag_type.name FILTER html %]</code> on bug [% bug_id -%]
+ [% IF attach_id %], attachment [% attach_id %][% END %], but that bug
+ has been restricted to users in certain groups, and the user you asked
+ isn't in all the groups to which the bug has been restricted.
+ Please choose someone else to ask, or make the bug accessible to users
+ on its CC: list and add that user to the list.
+
+ [% ELSIF error == "flag_requestee_unauthorized_attachment" %]
+ [% title = "Flag Requestee Not Authorized" %]
+
+ You asked [% requestee.identity FILTER html %]
+ for <code>[% flag_type.name FILTER html %]</code> on bug [% bug_id %],
+ attachment [% attach_id %], but that attachment is restricted to users
+ in the [% Param("insidergroup") FILTER html %] group, and the user
+ you asked isn't in that group. Please choose someone else to ask,
+ or ask an administrator to add the user to the group.
+
[% ELSIF error == "flag_type_cc_list_invalid" %]
[% title = "Flag Type CC List Invalid" %]
The CC list [% cc_list FILTER html %] must be less than 200 characters long.