lib/tasks/sync.rake in faalis-1.0.0.alpha0 vs lib/tasks/sync.rake in faalis-1.0.0.alpha1
- old
+ new
@@ -1,10 +1,9 @@
namespace :faalis do
namespace :sync do
- desc "Sync up workflows"
- task :workflows => :environment do
- Faalis::Workflow.destroy_all
- Faalis::Workflows::Discovery.build_table_list
+ desc 'Create missing permissions'
+ task :permissions => :environment do
+ Faalis::Discovery::Permissions.create_all_permissions
end
end
end