You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement basic user roles functionality (canada-ca#94)
* Add 'boilerplate' for adding user_claims during sign in process
* Adds a test resolver to be able to view the user_claims of the current JWT
* Add Roles column to User model.
Currently a String, may switch to different type.
* User role is pulled from DB column.
Testable through the graphql using the dummy resolver that is protected.
* Add update_role() function
* Refactor resolvers for user_schema.
Add update_role function for admin use.
Todo: Test to ensure that mutations/queries are protected
* Update docstrings
* Ran DB-upgrade
* Update sign_in_user.py
0 commit comments