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

Create a new API within the Profile app that contains endpoints for managing school-owners/teachers/students #238

Open
tuzz opened this issue Feb 15, 2024 · 0 comments

Comments

@tuzz
Copy link
Contributor

tuzz commented Feb 15, 2024

As per the Change Proposal and the Data Model, introduce a brand new API within the profile application that contains role-specific logic for managing users within the profile application's database. The endpoints need to allow users to create an organisation, assign roles, and create users with the school-student role. For a full list of endpoints and the constraints they should impose, please refer to the ProfileApiClient stub in this pull request. Note that the majority of the endpoints don't need to return anything. A simple 204 No Content status code should suffice.

For the endpoints that invite school-owner or school-student users, we need the profile app to detect whether or not a user account exists for the given email address. If not, it should allow the user to create an account first before assigning the role.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants