Anonymous users can now be allowed to create, edit, comment issues, comment news and post messages in the forums.
These permissions need to be explicitly given to the Anonymous role (Admin -> Roles & Permissions -> Anonymous). git-svn-id: http://redmine.rubyforge.org/svn/trunk@919 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -23,10 +23,6 @@ class ApplicationController < ActionController::Base
|
||||
require_dependency "repository/#{scm.underscore}"
|
||||
end
|
||||
|
||||
def logged_in_user
|
||||
User.current.logged? ? User.current : nil
|
||||
end
|
||||
|
||||
def current_role
|
||||
@current_role ||= User.current.role_for_project(@project)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user