diff options
author | lpsolit%gmail.com <> | 2005-09-26 05:51:52 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-09-26 05:51:52 +0200 |
commit | 67cb0c3f70d5b3d98e30a9e3ce7ac3b00766f9d9 (patch) | |
tree | a970fbeba9ab90bd35a23da9b1d695cf4d605f70 /Bugzilla | |
parent | 5e5715dffe4e217ab4bc669e7e6489e003704920 (diff) | |
download | bugzilla-67cb0c3f70d5b3d98e30a9e3ce7ac3b00766f9d9.tar.gz bugzilla-67cb0c3f70d5b3d98e30a9e3ce7ac3b00766f9d9.tar.xz |
Bug 303784: Visibility can keep admin from administering groups - Patch by Joel Peshkin <bugreport@peshkin.net> r=LpSolit a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/User.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 8d31414ba..d8749ccb0 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -328,7 +328,7 @@ sub bless_groups { } # If visibilitygroups are used, restrict the set of groups. - if (Param('usevisibilitygroups')) { + if ((!$self->in_group('editusers')) && Param('usevisibilitygroups')) { # Users need to see a group in order to bless it. my $visibleGroups = join(', ', @{$self->visible_groups_direct()}) || return $self->{'bless_groups'} = []; |