New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added documentation about assigning user roles #5410
Added documentation about assigning user roles #5410
Conversation
docs/user_roles.md
Outdated
@@ -39,6 +39,10 @@ permissions, or use another account and select the 'instructor' option from the | |||
onboarding process (http://localhost:3000/onboarding). Either way, you'll be able | |||
to create new courses/programs after that from the home page. | |||
|
|||
## Assigning special roles | |||
|
|||
To assign users to special roles. Go to the `/settings` page in the dashboard (http://localhost:3000/settings). This will allow you to give users admin privileges and other special user permissions such as classroom program manager, technical help staff, Wikipedia expert and many others. Note that your account needs to have admin permissions to access the page (refer to [Admin permissions](#admin-permissions) for more information) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding special users actually requires super_admin
permissions (permissions: 3
), so this should probably add a note about that in the admin section as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, done
docs/user_roles.md
Outdated
@@ -32,13 +32,21 @@ You can do so from the rails console: | |||
- $ `rails c` | |||
- > `User.find_by(username: '<your username>').update_attribute(:permissions, 1)` | |||
|
|||
If you need a higher level of permission above admin. Consider giving your main account super admin permissions instead: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar fix: "If you need a higher level of permission above admin, consider"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, done
docs/user_roles.md
Outdated
## Instructor role | ||
|
||
To use the dashboard as an instructor, you can either use an account with admin | ||
permissions, or use another account and select the 'instructor' option from the | ||
onboarding process (http://localhost:3000/onboarding). Either way, you'll be able | ||
to create new courses/programs after that from the home page. | ||
|
||
## Assigning special roles | ||
|
||
To assign users to special roles. Go to the `/settings` page in the dashboard (http://localhost:3000/settings). This will allow you to give users admin privileges and other special user permissions such as classroom program manager, technical help staff, Wikipedia expert and many others. Note that your account needs to have super admin permissions to access the page (refer to [Admin permissions](#admin-permissions) for more information) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"To assign users to special roles, go"
Also, add a period at the end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, done
What this PR does
Adds some extra information to
user_roles.md
about the /setting page that allows for easy role assignment.