-
Notifications
You must be signed in to change notification settings - Fork 73
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
Custom Users & Scopes (v1) #6455
Comments
Related: #7053 |
@jpye-finch 1. Should we be able to unassign from both the menu option and clicking the profile icon
|
Uganda requirement: #6270 Senior Registration Officer user required A Registrar plus: Can review correction requests (if senior approval required) |
Uganda requirement: #6951 Auditor User Review performance & reports |
Uganda requirement #8013 |
Description
Configurable role permissions:
This would involve the creation of custom roles to which permissions (or groups of permissions) could be applied e.g. notify/declare, validate, register, certify, correct, search, certified copy / work queues / performance management
Proposed user scopes are here
Technical: Refactor user roles and scopes so that they are easier to configure and map with state transition
Technical design can be found here
Burkino Faso:
Have introduced add a flag to creare the concept of "secondary" offices by checking the details of the office the user is attached to as part of the user starting a new declaration. If they are attached to a secondary office, only birth and death declaration types are shown.
This can be achieved using User Scopes. Each System User can be given the required scope for what declarations they can create
Design:
Action menu options based on status WIP:
https://www.figma.com/design/O6PevbBv0lApmXWYotR8sf/OpenCRVS-Design-Specifications-v2?node-id=19880-66203&t=O2Lnip0WuiujvtJN-1
Related
Dev tasks
Move hard-coded
role - scope
mappings from authentication.ts to country config.Modify the current
GET /roles
endpoint to also include scopes per role. This should be just a staticroles.json
file being served by CC. Change the returning data model to be as in the following example:The text was updated successfully, but these errors were encountered: