aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-09-24 05:46:53 +0000
committerlpsolit%gmail.com <>2006-09-24 05:46:53 +0000
commit2e8d81832a6b6809997fee0f1e4679b6eb97a5a4 (patch)
treedc73c19c8859d7f23c47c24e1fb481bf9e369a93 /editvalues.cgi
parentBug 353965: object => "field values" doesn't exist in user-error.html.tmpl - ... (diff)
downloadbugzilla-2e8d81832a6b6809997fee0f1e4679b6eb97a5a4.tar.gz
bugzilla-2e8d81832a6b6809997fee0f1e4679b6eb97a5a4.tar.bz2
bugzilla-2e8d81832a6b6809997fee0f1e4679b6eb97a5a4.zip
Bug 353768: "editcomponents" group is not appropriate for editvalues.cgi (Field Values) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'editvalues.cgi')
-rwxr-xr-xeditvalues.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editvalues.cgi b/editvalues.cgi
index d02a14d9c..b7e8ef12b 100755
--- a/editvalues.cgi
+++ b/editvalues.cgi
@@ -109,8 +109,8 @@ my $vars = {};
print $cgi->header();
-exists Bugzilla->user->groups->{'editcomponents'} ||
- ThrowUserError('auth_failure', {group => "editcomponents",
+exists Bugzilla->user->groups->{'admin'} ||
+ ThrowUserError('auth_failure', {group => "admin",
action => "edit",
object => "field_values"});