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

feat(core): organization app role apis #6071

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Conversation

gao-sun
Copy link
Member

@gao-sun gao-sun commented Jun 20, 2024

Summary

  • create organization - application - organization role relations table
  • add apis for handling organization - application - organization role relations
  • add PUT api for replacing all organization role relations for a organization - user pair

Testing

integration tests added

Checklist

  • .changeset (not this one)
  • unit tests
  • integration tests
  • necessary TSDoc comments

Copy link

github-actions bot commented Jun 20, 2024

COMPARE TO master

Total Size Diff ⚠️ 📈 +16.09 KB

Diff by File
Name Diff
packages/core/src/queries/organization/index.ts 📈 +296 Bytes
packages/core/src/queries/organization/role-application-relations.ts 📈 +1.9 KB
packages/core/src/queries/organization/role-user-relations.ts 📈 +5 Bytes
packages/core/src/routes/organization/index.application-role-relations.ts 📈 +3.62 KB
packages/core/src/routes/organization/index.applications.openapi.json 📈 +2.4 KB
packages/core/src/routes/organization/index.ts 📈 +257 Bytes
packages/core/src/routes/organization/index.user-role-relations.ts 📈 +115 Bytes
packages/integration-tests/src/api/organization.ts 📈 +750 Bytes
packages/integration-tests/src/tests/api/organization/organization-application.test.ts 📈 +2.52 KB
packages/integration-tests/src/tests/api/organization/organization-user.test.ts 📈 +1.97 KB
packages/schemas/alterations/next-1718807616-organization-role-application-relations.ts 📈 +1.39 KB
packages/schemas/tables/organization_role_application_relations.sql 📈 +929 Bytes

@gao-sun gao-sun force-pushed the gao-org-app-role-apis branch from 4a84cee to 294d977 Compare June 20, 2024 05:57
@github-actions github-actions bot added size/xl and removed size/l labels Jun 20, 2024
@gao-sun gao-sun force-pushed the gao-org-app-role-apis branch 2 times, most recently from 2d4b6b5 to 07da791 Compare June 20, 2024 06:23
@gao-sun gao-sun marked this pull request as ready for review June 20, 2024 10:15
@gao-sun gao-sun merged commit ec95536 into master Jun 21, 2024
47 of 56 checks passed
@gao-sun gao-sun deleted the gao-org-app-role-apis branch June 21, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants