... | ... | @@ -9,4 +9,13 @@ |
|
|
5. If the Roles is submitter, you cannot assign any other role. To change the role from Submitter to something else, click "Edit User Account" and change it from "submitter" to either "crew" or "admin"
|
|
|
6. If the role now is crew, click again on "Edit User Account"
|
|
|
7. Click "Add Conference User" to define a role in a conference
|
|
|
8. Fill in the Form and click "Update User" (Careful: **each user can only have one role in a conference!**) |
|
|
\ No newline at end of file |
|
|
8. Fill in the Form and click "Update User" (Careful: **each user can only have one role in a conference!**)
|
|
|
|
|
|
As a server administrator, you can do the following:
|
|
|
|
|
|
1. `dokku enter dbp2016-live`
|
|
|
2. `bundle exec rails console`
|
|
|
3. `user = User.find_by(email: "address@sld.tld")`
|
|
|
Verify the correct user has been selected by assessing the output of the above command.
|
|
|
4. `user.role = "%role"` with `%role` being one of [`submitter crew admin contributor co_author guest`](https://lab.allmende.io/degrowth/scriptorium/blob/deployment/app/models/user.rb#L4-5)
|
|
|
5. `user.save` |