Remove Organization from the rest of the code base..

This commit is contained in:
Henne Vogelsang 2024-06-07 16:34:23 +02:00
parent 9f1e877ea0
commit 494af47af2
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
2 changed files with 0 additions and 16 deletions

View file

@ -4,10 +4,6 @@ namespace :roles do
desc 'Adds back deleted roles to all conferences'
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 and its conferences')
end
Conference.all.each do |c|
Role.where(name: 'organizer', resource: c).first_or_create(description: 'For the organizers of the conference (who shall have full access)')
Role.where(name: 'cfp', resource: c).first_or_create(description: 'For the members of the CfP team')