##// END OF EJS Templates
Merged r10251 from trunk to 2.0-stable (#11752)...
Merged r10251 from trunk to 2.0-stable (#11752) scm: git: use diff_max_lines_displayed setting at test_diff_with_rev_and_path of functional test. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.0-stable@10273 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3834:c090d115e2bd
r10090:08ce7df5eafa
Show More
permissions.rake
9 lines | 369 B | text/x-ruby | RubyLexer
namespace :redmine do
desc "List all permissions and the actions registered with them"
task :permissions => :environment do
puts "Permission Name - controller/action pairs"
Redmine::AccessControl.permissions.sort {|a,b| a.name.to_s <=> b.name.to_s }.each do |permission|
puts ":#{permission.name} - #{permission.actions.join(', ')}"
end
end
end