##// END OF EJS Templates
change new line 'LF' to 'CRLF' and remove empty bottom line at lib/tasks/extract_fixtures.rake...
change new line 'LF' to 'CRLF' and remove empty bottom line at lib/tasks/extract_fixtures.rake git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7743 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3834:c090d115e2bd
r7623:e8b8406ecf2a
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