Feature #3453 » redmine-allow-anonymous-user-create-issues-in-private-project.diff
| app/models/user.rb (working copy) | ||
|---|---|---|
|
roles = roles_for_project(project)
|
||
|
return false unless roles
|
||
|
roles.detect {|role| (project.is_public? || role.member?) && role.allowed_to?(action)}
|
||
|
roles.detect {|role| role.allowed_to?(action)}
|
||
|
elsif options[:global]
|
||
|
# Admin users are always authorized
|
||
- « Previous
- 1
- 2
- Next »