From ea8d42be134b861c1fb3da1099bfecfaa1d83cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=20Mar=C3=ADa=20Mart=C3=ADnez=20G=C3=B3mez?= Date: Tue, 30 Apr 2019 11:29:55 +0200 Subject: [PATCH] Document roles:add rake task in update from 1.0 It is needed to run `rake roles:add` due to the addition of organization admins when updating from 1.0. This needs to be documented as it makes the application crashing. Fixes https://github.com/openSUSE/osem/issues/2496 --- CHANGES.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 309aabb0..db20a234 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -35,6 +35,18 @@ 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 his the +organization and create and manage 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)