##// END OF EJS Templates
Merged r3948 from trunk....
Eric Davis -
r3884:b9f23bedb748
parent child
Show More
@@ -0,0 +1,9
1 namespace :redmine do
2 desc "List all permissions and the actions registered with them"
3 task :permissions => :environment do
4 puts "Permission Name - controller/action pairs"
5 Redmine::AccessControl.permissions.sort {|a,b| a.name.to_s <=> b.name.to_s }.each do |permission|
6 puts ":#{permission.name} - #{permission.actions.join(', ')}"
7 end
8 end
9 end
General Comments 0
You need to be logged in to leave comments. Login now