Skip to content
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

Server: Let teachers use user() query on their students #90

Open
TiE23 opened this issue Jul 8, 2018 · 0 comments
Open

Server: Let teachers use user() query on their students #90

TiE23 opened this issue Jul 8, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@TiE23
Copy link
Owner

TiE23 commented Jul 8, 2018

Teachers should have PrivateUser access to their students. Write smart solution to this that keeps things efficient for cases where Teachers are looking up students.

Modify the query user() and users() to allow a teacher to do this.

I would highly recommend making the code that discovered if a teacher is a student's teacher into a utility function because there are multiple places where this would be useful (for example, the mutation assignCourseNewSubSubjects()).

I would recommend after completing this ISSUE to write a ticket that covers additional mutations/queries where this feature would be useful... or of course, just feature-creep this ISSUE, lol.

Do before #91.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant