suggested changes

change description of organization_admin
remove assign_role callback
This commit is contained in:
shlok007 2017-06-14 22:51:26 +05:30
parent 8839a928ed
commit 7d408ee33c
3 changed files with 2 additions and 7 deletions

View file

@ -3,7 +3,7 @@ namespace :roles do
task add: :environment do
Organization.all.each do |org|
Role.where(name: 'organization_admin', resource: org).first_or_create(description: "For the administrators of an organization (who shall have full access to the organization and it's conferences)")
Role.where(name: 'organization_admin', resource: org).first_or_create(description: 'For the administrators of an organization and its conferences')
end
Conference.all.each do |c|