Merge branch 'sync_develop' into develop

This commit is contained in:
jasder 2021-04-29 23:23:25 +08:00
commit b22330d146
1 changed files with 1 additions and 1 deletions

View File

@ -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