@@ -264,7 +264,7 class ApplicationController < ActionController::Base | |||
|
264 | 264 | # used as a before_filter for actions that do not require any particular permission on the project |
|
265 | 265 | def check_project_privacy |
|
266 | 266 | if @project && @project.active? |
|
267 | if @project.is_public? || User.current.member_of?(@project) || User.current.admin? | |
|
267 | if @project.visible? | |
|
268 | 268 | true |
|
269 | 269 | else |
|
270 | 270 | deny_access |
General Comments 0
You need to be logged in to leave comments.
Login now