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

chore: amend gateway changes with scopes #7899

Merged
merged 8 commits into from
Nov 11, 2024

Conversation

Nil20
Copy link
Collaborator

@Nil20 Nil20 commented Nov 5, 2024

No description provided.

Copy link

github-actions bot commented Nov 5, 2024

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

@Nil20 Nil20 force-pushed the changes-gateway-legacy-scopes branch 2 times, most recently from 06cd94c to a91cbcd Compare November 6, 2024 13:59
@Nil20 Nil20 force-pushed the changes-gateway-legacy-scopes branch from a91cbcd to f640055 Compare November 8, 2024 14:00
if (
!hasScope(authHeader, 'sysadmin') &&
!hasScope(authHeader, SCOPES.USER_READ) &&
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
!hasScope(authHeader, SCOPES.USER_READ) &&
!hasScope(authHeader, SCOPES.USER_UPDATE) &&

@Zangetsu101 Zangetsu101 merged commit 5619401 into configurable-roles Nov 11, 2024
53 of 59 checks passed
@Zangetsu101 Zangetsu101 deleted the changes-gateway-legacy-scopes branch November 11, 2024 12:16
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.

2 participants