mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
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:
parent
f40a3a66cd
commit
ff0c033990
@ -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"});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user