forked from Gitlink/forgeplus
Merge branch 'sync_develop' into develop
This commit is contained in:
commit
b22330d146
|
@ -86,7 +86,7 @@ module ProjectOperable
|
|||
if owner.is_a?(User)
|
||||
reporters.exists?(user_id: user.id)
|
||||
elsif owner.is_a?(Organization)
|
||||
reporters.exists?(user_id: user.id) || owner.is_read?(user.id)
|
||||
reporters.exists?(user_id: user.id) || owner.is_only_read?(user.id)
|
||||
else
|
||||
false
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue