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:
mkanat%bugzilla.org
2008-08-08 01:27:20 +00:00
parent 699fe95798
commit 438f372bd6
22 changed files with 109 additions and 118 deletions

View File

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