At present, Authorization/Roles for users are managed in a separate system. Store appropriate roles for the application in the instrumentation database and provide roles as part of the profile payload retrieved at endpoint /my_profile.
API and Table Changes
[x] Create tables to store roles; use similar if not same structure as cwbi-auth
[x] Add roles to profile entity
[x] Endpoints for managing users and roles
[x] Provide a user permission to modify project data
[x] Revoke a user's permission to modify project data
[x] Provide a user permission to modify application permissions
[x] Revoke a user's permission to modify application permissions
[x] Update integration tests
[ ] Documentation
User Interface
Changes to be detailed in additional comments below
At present, Authorization/Roles for users are managed in a separate system. Store appropriate roles for the application in the
instrumentation
database and provide roles as part of theprofile
payload retrieved at endpoint/my_profile
.API and Table Changes
profile
entityUser Interface
Changes to be detailed in additional comments below