Repository navigation
feat(api-client): change the access (client scopes) of an existing API client - #4611
Merged
Merged
Conversation
… own component So that it can be reused to change the scopes of an existing API client. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fb2hmonEJ4GPn7E8vpSMBC
…I client Account managers can change which client scopes an API client has from the API Access admin page, without creating new credentials for the external system. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fb2hmonEJ4GPn7E8vpSMBC
Contributor
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Contributor
|
Deployed to https://pr-4611.aam-digital.net/ |
sleidig
commented
Oct 29, 2026
sleidig
marked this pull request as ready for review
October 29, 2026 15:14
…default since Angular 22 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fb2hmonEJ4GPn7E8vpSMBC
Member
Author
|
🎉 This PR is included in version 4.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On the admin "API Access" page, each API client now has a "Change access" button (pen icon). It opens a dialog to change the client's scopes. The client keeps its credentials, and the list reloads after saving.
Requires the backend endpoint
PUT /v1/admin/api-client/{clientId}/scopefrom Aam-Digital/aam-services#272. Merge and deploy that first. Until then, saving shows the backend's error message in the dialog.ApiClientScopeSelectionComponent, so both dialogs share it. A failure to load the scopes is now shown inside that component.EditApiClientScopesDialogComponent. Save is disabled until something changes and while no scope is selected.ApiClientService.updateScopes()Manual Testing Steps
Setup (if needed)
admin.api-clientenabled). Not available in demo mode.Steps
PR Checklist
Before you request a manual PR review from someone, please go through all of this list:
@coderabbitaireview" (e2e tests run automatically on every push)--> then mark the PR "Ready for Review"
Unit tests for
api-clientpass locally (31 tests) and the development build succeeds. Not manually tested against a backend.🤖 Generated with Claude Code
https://claude.ai/code/session_01Fb2hmonEJ4GPn7E8vpSMBC