-
Notifications
You must be signed in to change notification settings - Fork 17
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
[OCRVS-6455] Configurable user roles and scopes #1042
base: develop
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,133 @@ | |||
import { rmdirSync, writeFileSync } from 'fs' |
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.
The idea behind this was to help countries migrate their roles automatically to a roles.json
file, without us having to write a comprehensive documentation on how to do it. The ideal time for running the script would probably be after they run git pull countryconfig master
and get merge conflicts. Ideas welcome..
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.
Using husky and a pre-merge-commit
or post-merge
hook?
* chore!: deprecate systemRole from default employees * chore: update roles.json with local leader scopes
…o configurable-roles
Oops! Looks like you forgot to update the changelog. When updating CHANGELOG.md, please consider the following:
|
* chore: add certify scope for registrars * chore: add scope for national sys admin * chore: amend config scope * chore: remove legacy scopes * chore: sync user scopes with notion scopes
Your environment is deployed to https://configurable-roles.opencrvs.dev. |
* chore: add signature scope for registrars * chore: remove unused message
Co-authored-by: Md. Ashikul Alam <[email protected]>
feat: add new translations
* chore: change in-progress to my-drafts * fix: update fetch registration queries --------- Co-authored-by: Md. Ashikul Alam <[email protected]>
No description provided.