-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow researchers to get classes and offerings [PT-187212565]
- Adds check for researcher in class controllers - Adds check for researcher in offering policy - Adds is_researcher_for_clazz? method to users. This is an optimized query that doesn't generate any model objects. NOTE: this also anonymizes the class student data since reseachers now have access to the class roster. It also anonymizes the class student data when the class is retrieved by classword which was a previously bug.
- Loading branch information
1 parent
cf77bd9
commit 608e89e
Showing
4 changed files
with
44 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters