From 67cb0c3f70d5b3d98e30a9e3ce7ac3b00766f9d9 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 26 Sep 2005 03:51:52 +0000 Subject: Bug 303784: Visibility can keep admin from administering groups - Patch by Joel Peshkin r=LpSolit a=justdave --- Bugzilla/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/User.pm') 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'} = []; -- cgit v1.2.3-24-g4f1b