aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2005-12-31 00:01:43 +0000
committerwurblzap%gmail.com <>2005-12-31 00:01:43 +0000
commit418fb4bfb5a14eded370f1981d014ea8fd1f62d1 (patch)
tree845cfda1940d3c3a6e21cc6e8ac7dae471a8db27
parent92ac33e160dc34a04cb9968ea808c85e200b4f0c (diff)
downloadbugs-418fb4bfb5a14eded370f1981d014ea8fd1f62d1.tar
bugs-418fb4bfb5a14eded370f1981d014ea8fd1f62d1.tar.gz
bugs-418fb4bfb5a14eded370f1981d014ea8fd1f62d1.tar.bz2
bugs-418fb4bfb5a14eded370f1981d014ea8fd1f62d1.tar.xz
bugs-418fb4bfb5a14eded370f1981d014ea8fd1f62d1.zip
Bug 318171: Looking for group members finds grant right holders, too.
Patch by Marc Schumann <wurblzap@gmail.com>, r=LpSolit, a=justdave
-rwxr-xr-xeditusers.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 290b8dbe4..40854775f 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -138,7 +138,8 @@ if ($action eq 'search') {
my $grouplist = join(',',
@{Bugzilla::User->flatten_group_membership($group->id)});
$query .= " $nextCondition profiles.userid = ugm.user_id " .
- "AND ugm.group_id IN($grouplist)";
+ "AND ugm.group_id IN($grouplist) " .
+ "AND ugm.isbless = 0";
}
$query .= ' ORDER BY profiles.login_name';