-
Notifications
You must be signed in to change notification settings - Fork 588
Add end-user credential management API resource #7633
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -2163,4 +2163,24 @@ | |||||||||||||||||||||||||
| description="Delete workflow instance"/> | ||||||||||||||||||||||||||
| </Scopes> | ||||||||||||||||||||||||||
| </APIResource> | ||||||||||||||||||||||||||
| <APIResource name="Credential Management API" identifier="/api/server/v1/users/(.*)/credentials" | ||||||||||||||||||||||||||
| requiresAuthorization="true" | ||||||||||||||||||||||||||
| description="API representation of the Credential Management API" type="TENANT"> | ||||||||||||||||||||||||||
| <Scopes> | ||||||||||||||||||||||||||
| <Scope displayName="View Credential" name="internal_user_mgt_view" | ||||||||||||||||||||||||||
| description="View credentials of users in the organization"/> | ||||||||||||||||||||||||||
| <Scope displayName="Delete Credential" name="internal_user_mgt_delete" | ||||||||||||||||||||||||||
| description="Delete credentials of users in the organization"/> | ||||||||||||||||||||||||||
|
Comment on lines
+2171
to
+2173
|
||||||||||||||||||||||||||
| description="View credentials of users in the organization"/> | |
| <Scope displayName="Delete Credential" name="internal_user_mgt_delete" | |
| description="Delete credentials of users in the organization"/> | |
| description="View credentials of users in the organization (root)"/> | |
| <Scope displayName="Delete Credential" name="internal_user_mgt_delete" | |
| description="Delete credentials of users in the organization (root)"/> |
Copilot
AI
Nov 25, 2025
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.
The scope description should follow the established pattern for TENANT type APIs. Based on similar APIs in this file (e.g., SCIM2 Users API at lines 776, 778, 780), TENANT type scope descriptions use "in the organization (root)" instead of just "in the organization". This helps distinguish between tenant-level and organization-level scopes.
Suggested: description="Delete credentials of users in the organization (root)"
| description="View credentials of users in the organization"/> | |
| <Scope displayName="Delete Credential" name="internal_user_mgt_delete" | |
| description="Delete credentials of users in the organization"/> | |
| description="View credentials of users in the organization (root)"/> | |
| <Scope displayName="Delete Credential" name="internal_user_mgt_delete" | |
| description="Delete credentials of users in the organization (root)"/> |
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.
Inconsistent indentation. The
requiresAuthorizationattribute should align with thenameattribute on the previous line, similar to other APIResource elements in this file (e.g., lines 2087, 2101, 2115).The line currently has excessive spacing (29 spaces) instead of the standard 17 spaces used throughout the file.