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

[v15] Remove denied AWS Roles in AWS Role Web picker #41707

Merged
merged 1 commit into from
May 20, 2024

Conversation

marcoandredinis
Copy link
Contributor

Backport #41585 to v15

changelog: Remove invalid AWS Roles from Web UI picker

* Remove denied AWS Roles in AWS Role Web picker

This PR uses the accessChecker to remove AWS Roles which users don't
have access to.

Previously all the AWS Roles that the user had access to would be
listed.
After this change, only the AWS Roles available in the AppServer will be
displayed.

* fix error for non-aws apps

* Update lib/services/access_checker.go

Co-authored-by: Gavin Frazar <gavin.frazar@goteleport.com>

---------

Co-authored-by: Gavin Frazar <gavin.frazar@goteleport.com>
@marcoandredinis marcoandredinis added this pull request to the merge queue May 20, 2024
Merged via the queue into branch/v15 with commit e703da2 May 20, 2024
32 checks passed
@marcoandredinis marcoandredinis deleted the marco/v15/backport_41585 branch May 20, 2024 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants