Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
e749f733
Commit
e749f733
authored
Jan 28, 2005
by
travis%sedsystems.ca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 278650 : editversions.cgi still uses "auth_cant_edit_versions"
Patch by Frederic Buclin <LpSolit@gmail.com> r=vladd a=justdave
parent
3b3cf885
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
editversions.cgi
editversions.cgi
+4
-5
user-error.html.tmpl
template/en/default/global/user-error.html.tmpl
+0
-5
No files found.
editversions.cgi
View file @
e749f733
...
...
@@ -115,11 +115,10 @@ Bugzilla->login(LOGIN_REQUIRED);
print
Bugzilla
->
cgi
->
header
();
unless
(
UserInGroup
(
"editcomponents"
))
{
ThrowUserError
(
'auth_cant_edit_versions'
);
exit
;
}
UserInGroup
(
"editcomponents"
)
||
ThrowUserError
(
"auth_failure"
,
{
group
=>
"editcomponents"
,
action
=>
"edit"
,
object
=>
"versions"
});
#
# often used variables
...
...
template/en/default/global/user-error.html.tmpl
View file @
e749f733
...
...
@@ -218,11 +218,6 @@
Sorry, but you can not delete the default classification,
'[% name FILTER html %]'.
[% ELSIF error == "auth_cant_edit_versions" %]
[% title = "Access Denied" %]
Sorry, you aren't a member of the 'editcomponents' group, and so
you aren't allowed to add, modify or delete versions.
[% ELSIF error == "component_already_exists" %]
[% title = "Component Already Exists" %]
A component with the name '[% name FILTER html %]' already exists.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment