-
-
Notifications
You must be signed in to change notification settings - Fork 509
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
fix(core): fix create org role API #6894
base: master
Are you sure you want to change the base?
Conversation
COMPARE TO
|
Name | Diff |
---|---|
.changeset/thick-baboons-sniff.md | 📈 +214 Bytes |
packages/core/src/routes/organization-role/index.openapi.json | 📈 +167 Bytes |
packages/core/src/routes/organization-role/index.ts | 📈 +877 Bytes |
packages/integration-tests/src/tests/api/organization/organization-role.test.ts | 📈 +2.88 KB |
packages/phrases/src/locales/en/errors/organization.ts | 📈 +157 Bytes |
8c98e1a
to
2c73686
Compare
2c73686
to
bdebf2a
Compare
This PR is stale because it has been open 10 for days with no activity. Remove stale label or comment or this will be closed in 5 days. |
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.
LGTM
CI failed |
bdebf2a
to
3eb6413
Compare
3eb6413
to
3d004de
Compare
This PR is stale because it has been open 10 for days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Summary
fix create org role API:
Previously, if
organizationScopeIds
orresourceScopeIds
contained an invalid ID (such as a non-existent scope ID), the API would return a 4xx error, but the role would still be created. In reality, the role should not have been created.Repored by community users in issue 6891.
Testing
Add integration tests to cover these scenarios.
Checklist
.changeset