Sha256: e4ed1f117fa19fb52a82ae6064cc0d309c00b0065ce65ea0f5b68bc458d80396
Contents?: true
Size: 361 Bytes
Versions: 6
Compression:
Stored size: 361 Bytes
Contents
namespace :rights do desc "Check for controllers without rights" task :check => :environment do puts "Missing rights for controllers:" puts RightOn::RightsManager.missing_rights end desc "Add rights for missing controllers" task :add, [:controller, :action] => :environment do |t, args| RightOn::RightsManager.add_right(args) end end
Version data entries
6 entries across 6 versions & 1 rubygems