##// END OF EJS Templates
Code cleanup....
Jean-Philippe Lang -
r8833:8cfc08047037
parent child
Show More
@@ -264,7 +264,7 class ApplicationController < ActionController::Base
264 # used as a before_filter for actions that do not require any particular permission on the project
264 # used as a before_filter for actions that do not require any particular permission on the project
265 def check_project_privacy
265 def check_project_privacy
266 if @project && @project.active?
266 if @project && @project.active?
267 if @project.is_public? || User.current.member_of?(@project) || User.current.admin?
267 if @project.visible?
268 true
268 true
269 else
269 else
270 deny_access
270 deny_access
General Comments 0
You need to be logged in to leave comments. Login now