-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add User Endpoints #713
Add User Endpoints #713
Conversation
Add accept_terms function to api_methods/user.py Add /users/acceptTerms endpoint to views.py Add UpdateUser class to schema_models/user.py Add can_access_user function to auth.py
β¦ and permissions.
Add update users endpoint to views Add update users definition to api_methods/user.py Refactor user endpoints to use Request object for passing arguments
β¦-python-serverless
β¦User Endpoints.
β¦-python-serverless
β¦-python-serverless
β¦-python-serverless
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments.
Add user context and permissions to delete_user and remove associated todo Move non-data/service connections outside of try blocks Replace os.getenv() calls with settings() in email.py Add regional admin permission checks to can_access_user in auth.py
β¦-python-serverless
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if we still need the invitation email stuff, but we can address later in a SPIKE ticket. Otherwise this LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
π£ Description
π Motivation and context
π§ͺ Testing
β Pre-approval checklist
in code comments.
to reflect the changes in this PR.
β Pre-merge checklist
β Post-merge checklist