Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
27eb4b5c
Commit
27eb4b5c
authored
Oct 05, 2007
by
wurblzap%gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 349567 â strict_isolation in post_bug should also check can_see_product.
Patch by Marc Schumann <wurblzap@gmail.com>; r=LpSolit; a=LpSolit
parent
34b3230e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Bug.pm
Bugzilla/Bug.pm
+2
-1
No files found.
Bugzilla/Bug.pm
View file @
27eb4b5c
...
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment