##// END OF EJS Templates
scm: git: use "-c log.decorate=no" option instead of "--no-decorate" of "git log" above Git 1.7.2 (#8081, #8083)....
scm: git: use "-c log.decorate=no" option instead of "--no-decorate" of "git log" above Git 1.7.2 (#8081, #8083). Git on Redmine CI Server does not support "--no-decorate" option of "git log". git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5349 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3834:c090d115e2bd
r5229:b23bf1f2999b
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