summaryrefslogtreecommitdiffstats
path: root/editvalues.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-09-24 07:46:53 +0200
committerlpsolit%gmail.com <>2006-09-24 07:46:53 +0200
commit2e8d81832a6b6809997fee0f1e4679b6eb97a5a4 (patch)
treedc73c19c8859d7f23c47c24e1fb481bf9e369a93 /editvalues.cgi
parent9bcde1662886322838b52048e1d144debdb4bc2b (diff)
downloadbugzilla-2e8d81832a6b6809997fee0f1e4679b6eb97a5a4.tar.gz
bugzilla-2e8d81832a6b6809997fee0f1e4679b6eb97a5a4.tar.xz
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"});