From 27eb4b5c77ef844c49b14187871a000890c2b17e Mon Sep 17 00:00:00 2001 From: "wurblzap%gmail.com" <> Date: Fri, 5 Oct 2007 21:50:12 +0000 Subject: [PATCH] =?utf8?q?Bug=20349567=20=C3=A2=C2=80=C2=93=20strict=5Fiso?= =?utf8?q?lation=20in=20post=5Fbug=20should=20also=20check=20can=5Fsee=5Fp?= =?utf8?q?roduct.=20Patch=20by=20Marc=20Schumann=20;?= =?utf8?q?=20r=3DLpSolit;=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla/Bug.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 067dc484e5..1e1dee712a 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1175,7 +1175,8 @@ sub _check_strict_isolation { my @blocked_users; foreach my $pid (keys %unique_users) { my $related_user = Bugzilla::User->new($pid); - if (!$related_user->can_edit_product($product->id)) { + if (!$related_user->can_edit_product($product->id) || + !$related_user->can_see_product($product->id)) { push (@blocked_users, $related_user->login); } } -- 2.47.3