summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-10 01:18:03 +0100
committertravis%sedsystems.ca <>2005-03-10 01:18:03 +0100
commit672d71471ee2ddae6005a9259789899c41264823 (patch)
treeaac906cd42b2873fca45baeff2a1100b321b70ac /template
parent82bc36a9ccc7a9a0808c2d4c0e8b7d44eb1e63dd (diff)
downloadbugzilla-672d71471ee2ddae6005a9259789899c41264823.tar.gz
bugzilla-672d71471ee2ddae6005a9259789899c41264823.tar.xz
Bug 282574 : use the new "auth_failure" error message for all authentication failures
Patch by Frederic Buclin <LpSolit@gmail.com> r=travis, wurblzap a=myk
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/user-error.html.tmpl37
1 files changed, 16 insertions, 21 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index fffcdf4c4..2d992dfce 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -17,7 +17,7 @@
# Rights Reserved.
#
# Contributor(s): Gervase Markham <gerv@gerv.net>
- # Frédéric Buclin <LpSolit@netscape.net>
+ # Frédéric Buclin <LpSolit@gmail.com>
#%]
[%# INTERFACE:
@@ -113,8 +113,10 @@
[% END %]
[% END %]
- and so you aren't allowed to
- [% IF action == "add" %]
+ [% IF group || reason %] and so [% END %] you are not authorized to
+ [% IF action == "access" %]
+ access
+ [% ELSIF action == "add" %]
add new
[% ELSIF action == "modify" %]
modify
@@ -122,13 +124,17 @@
delete
[% ELSIF action == "edit" %]
add, modify or delete
+ [% ELSIF action == "run" %]
+ run
[% ELSIF action == "schedule" %]
schedule
[% ELSIF action == "use" %]
use
[% END %]
- [% IF object == "charts" %]
+ [% IF object == "attachment" %]
+ this attachment
+ [% ELSIF object == "charts" %]
the "New Charts" feature
[% ELSIF object == "classifications" %]
classifications
@@ -142,12 +148,18 @@
keywords
[% ELSIF object == "milestones" %]
milestones
+ [% ELSIF object == "multiple_bugs" %]
+ multiple [% terms.bugs %] at once
[% ELSIF object == "parameters" %]
parameters
[% ELSIF object == "products" %]
products
+ [% ELSIF object == "quips" %]
+ quips
[% ELSIF object == "reports" %]
whine reports
+ [% ELSIF object == "sanity_check" %]
+ a sanity check
[% ELSIF object == "user" %]
the user you specified
[% ELSIF object == "users" %]
@@ -156,10 +168,6 @@
versions
[% END %].
- [% ELSIF error == "attachment_access_denied" %]
- [% title = "Access Denied" %]
- You are not authorized to access this attachment.
-
[% ELSIF error == "attachment_removed" %]
[% title = "Attachment Removed" %]
The attachment you are attempting to access has been removed.
@@ -548,11 +556,6 @@
[% ELSIF error == "insufficient_data_points" %]
We don't have enough data points to make a graph (yet).
- [% ELSIF error == "insufficient_privs_for_multi" %]
- [% title = "Insufficient Privileges" %]
- Sorry, you do not have sufficient privileges to edit multiple
- [% terms.bugs %].
-
[% ELSIF error == "invalid_attach_id" %]
[% title = "Invalid Attachment ID" %]
The attachment id [% attach_id FILTER html %] is invalid.
@@ -918,10 +921,6 @@
[% title = "Quips Disabled" %]
Quips are disabled.
- [% ELSIF error == "quips_edit_denied" %]
- [% title = "Permission Denied" %]
- You do not have permission to edit quips.
-
[% ELSIF error == "reassign_to_empty" %]
[% title = "Illegal Reassignment" %]
To reassign [% terms.abug %], you must provide an address for
@@ -945,10 +944,6 @@
[% title = "Summary Needed" %]
You must enter a summary for this [% terms.bug %].
- [% ELSIF error == "sanity_check_access_denied" %]
- [% title = "Access Denied" %]
- You do not have the permissions necessary to run a sanity check.
-
[% ELSIF error == "search_content_without_matches" %]
[% title = "Illegal Search" %]
The "content" field can only be used with "matches" search