mirror of
https://github.com/openSUSE/osem.git
synced 2025-12-23 22:28:15 -05:00
Remove Organization from the rest of the code base..
This commit is contained in:
12
CHANGES.md
12
CHANGES.md
@@ -41,18 +41,6 @@ data.
|
||||
bundle exec rake data:set_conference_in_versions RAILS_ENV=production
|
||||
```
|
||||
|
||||
### Organization admins
|
||||
|
||||
We have a new role `organization admins` which allow a user to manage their
|
||||
organization and create and manage a conference within the organization. This
|
||||
needs the role to exist in the database, otherwise the application crashes
|
||||
as it is assumed to exist. For that, run the following rake task:
|
||||
|
||||
```
|
||||
bundle exec rake roles:add RAILS_ENV=production
|
||||
```
|
||||
|
||||
|
||||
# Changes in OSEM 1.0
|
||||
|
||||
[Released May 24, 2016](https://osem.io/1.0)
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user