Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
manually add admin
authored
Dec 08, 2017
by
Stella Rouzi
Show whitespace changes
Inline
Side-by-side
Roles-and-Permissions.md
View page @
19dd9309
...
...
@@ -4,6 +4,11 @@ The following document describes the various roles in OSEM and their current per
OSEM comes with role-based administration for the conferences.
Except for roles, there is also the
`is_admin`
attribute in User model, which gives the user access everywhere.
The first user that signs up automatically becomes an admin (has the attribute is_admin enabled).
To make another user an admin:
*
Use the admin panel to edit a user, and check the is_admin checkbox
*
Run the command: rake user:admin['email_of_existing_user']
### Role Definition
...
...
...
...