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

This commit is contained in:
lpsolit%gmail.com 2006-09-23 22:46:53 +00:00
parent f40a3a66cd
commit ff0c033990

View File

@ -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"});