Add "instructor" mode to Sonar.
Review Request #7930 — Created Jan. 30, 2016 and submitted — Latest diff uploaded
This change adds a new "type" field to users which can be one of "student",
"mentor", or "instructor". Mentors are still the superusers of the system,
and instructors are a limited class where they can see all the other users
within their own groups but cannot see anyone else, and cannot make changes.
- Set myself to be an instructor and joined one of our active groups. Saw
everything that I expected to. - Set myself to be a student and saw the limited student view.
lib/api.js |
---|
lib/routes.js |
---|
lib/schema.js |
---|
lib/frontend/application.js |
---|
lib/frontend/application-view.js |
---|
lib/frontend/calendar-view.js |
---|
lib/frontend/header-view.js |
---|
lib/frontend/models.js |
---|
lib/frontend/sidebar-view.js |
---|
lib/frontend/user-detail-view.js |
---|
views/main.handlebars |
---|