-
When an admin sends an invitation, they can select role from ["admin", "mentor", "student"].
-
If they select student, the new user will be given a role of either "enrolled", "active student" or "graduated" depending on the status of the cohort.
-
This makes 4 different roles that could be assigned to a new user.
-
There are 3 other roles which can be assigned later by an admin: ["exited", "removed", "graduated"]
-
Admin
- Can crud all aspects of users.
- Can manage applications
-
Active Student / Mentor / Graduated
- Can read and update their own personal info.
- Can join public groups.
- Can read cohort information (view cohort pages).
- Can manage applications
-
Enrolled
- Can read and update their own personal info.
- Can read cohort information (view cohort pages).
-
Exited / Removed
- Can't do anything
Eventually, students will apply through Census. At this time, we don't have that functionality. We are assuming that all new Census users will be added by invitation once they have been accepted to Turing. We are ignoring the "applicant" role for now.