diff options
author | travis%sedsystems.ca <> | 2005-01-28 04:50:25 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-01-28 04:50:25 +0100 |
commit | e749f7333f0e2844f17d9b9011e1a13ed00ad121 (patch) | |
tree | 7eed9fa49be850251df9b8c6c2a632244854f02d /editversions.cgi | |
parent | 3b3cf885ca4101b679ff31fd9dc853424db062f4 (diff) | |
download | bugzilla-e749f7333f0e2844f17d9b9011e1a13ed00ad121.tar.gz bugzilla-e749f7333f0e2844f17d9b9011e1a13ed00ad121.tar.xz |
Bug 278650 : editversions.cgi still uses "auth_cant_edit_versions"
Patch by Frederic Buclin <LpSolit@gmail.com> r=vladd a=justdave
Diffstat (limited to 'editversions.cgi')
-rwxr-xr-x | editversions.cgi | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/editversions.cgi b/editversions.cgi index 613f2468a..e4cf47e2a 100755 --- a/editversions.cgi +++ b/editversions.cgi @@ -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 |