Bug 442031: Make Bugzilla::User::groups return an arrayref of Bugzilla::Group objects (instead of a hashref of group ids and names).
git-svn-id: svn://10.0.0.236/trunk@253451 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -62,7 +62,7 @@ Bugzilla->login(LOGIN_REQUIRED);
|
||||
|
||||
print $cgi->header();
|
||||
|
||||
exists Bugzilla->user->groups->{'editclassifications'}
|
||||
Bugzilla->user->in_group('editclassifications')
|
||||
|| ThrowUserError("auth_failure", {group => "editclassifications",
|
||||
action => "edit",
|
||||
object => "classifications"});
|
||||
|
||||
Reference in New Issue
Block a user