Skip to content
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

Open
wants to merge 28 commits into
base: develop
Choose a base branch
from

Conversation

rikukissa
Copy link
Member

No description provided.

@@ -0,0 +1,133 @@
import { rmdirSync, writeFileSync } from 'fs'
Copy link
Member Author

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..

Copy link
Collaborator

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?

Copy link

Oops! Looks like you forgot to update the changelog. When updating CHANGELOG.md, please consider the following:

  • Changelog is read by country implementors who might not always be familiar with all technical details of OpenCRVS. Keep language high-level, user friendly and avoid technical references to internals.
  • Answer "What's new?", "Why was the change made?" and "Why should I care?" for each change.
  • If it's a breaking change, include a migration guide answering "What do I need to do to upgrade?".

rikukissa and others added 4 commits October 21, 2024 12:09
* 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
@ocrvs-bot
Copy link

Your environment is deployed to https://configurable-roles.opencrvs.dev.

Zangetsu101 and others added 4 commits December 27, 2024 15:35
* chore: change in-progress to my-drafts

* fix: update fetch registration queries

---------

Co-authored-by: Md. Ashikul Alam <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants