-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Adds FriendlyName support for IC resources #50127
base: master
Are you sure you want to change the base?
Conversation
api/accessrequest/access_request.go
Outdated
resourceID.Kind = types.KindApp | ||
resourceIDs = append(resourceIDs, resourceID) |
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.
Does the GetResourceDetails->GetResourcesByResourceIDs->GetResourcesByKind->
mapResourceKindToListResourcesType is not better place to overwrite the kind ?
Where do we set friendly name? For naming consistency, can we add double quote on the account and permission set name. So that |
See gravitational/teleport.e#5693 |
0350b7c
to
f9f3273
Compare
The IC Account and AccountAssignment resources do not have very user-friendly ids, making it hard to know what access is actually being granted when reviewing an access request. This patch adds support for - querying Identity Center accounts via `auth.ListResources` - generating a friendly resource name when reviewing an access request with IC resources.
f9f3273
to
fb656bd
Compare
The IC Account and AccountAssignment resources do not have very user-friendly
ids, making it hard to know what access is actually being granted when reviewing
an access request. And they are about to get even less friendly as we replace the
account name with a numeric ID.
This patch adds support for generating a friendly resource name when reviewing
an access request with IC resources.
Before:
After