зеркало из https://github.com/mozilla/pjs.git
Bug 349567 ��� strict_isolation in post_bug should also check can_see_product.
Patch by Marc Schumann <wurblzap@gmail.com>; r=LpSolit; a=LpSolit
This commit is contained in:
Родитель
8062e6607c
Коммит
bdd49598e4
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче