##// END OF EJS Templates
Merged r14959 from trunk to 3.2-stable (#19017)...
Merged r14959 from trunk to 3.2-stable (#19017) pdf: use "family" parameter instead of l(:general_pdf_fontname) at SetFont method. Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@14961 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3834:c090d115e2bd
r14579:60dea89b2af1
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