Skip to content

[v16] Refresh resources after dropping an access request#49348

Merged
gzdunek merged 1 commit intobranch/v16from
gzundek/backport-49125-branch/v16
Nov 22, 2024
Merged

[v16] Refresh resources after dropping an access request#49348
gzdunek merged 1 commit intobranch/v16from
gzundek/backport-49125-branch/v16

Conversation

@gzdunek
Copy link
Copy Markdown
Contributor

@gzdunek gzdunek commented Nov 22, 2024

Backport #49125 to branch/v16
Manual backport because of conflicts in TabHost.test.tsx.

changelog: Teleport Connect now refreshes the resources view after dropping an access request

* Pass `rootClusterUri` to functions in `ResourcesContext`

* Support refreshing resources per cluster URI in unified resources

* Move `ResourcesContextProvider` higher in component hierarchy

* Refresh resources after dropping request

* Fix casing of Assume Roles button

* Add `rootClusterUri` as an argument to `useResourcesContext`

* Change the error message

* Change one more usage of `requestResourcesRefresh(rootClusterUri)`

* Move `onResourcesRefreshRequest` listener logic to `ResourcesContextProvider`

* Remove unnecessary `props.clusterUri` from deps

(cherry picked from commit b3f1c0b)
@aws-amplify-us-west-2
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-49348.d212ksyjt6y4yg.amplifyapp.com

@gzdunek gzdunek added this pull request to the merge queue Nov 22, 2024
Merged via the queue into branch/v16 with commit eb2dac0 Nov 22, 2024
@gzdunek gzdunek deleted the gzundek/backport-49125-branch/v16 branch November 22, 2024 14:45
@doggydogworld doggydogworld mentioned this pull request Dec 3, 2024
@fheinecke fheinecke mentioned this pull request Apr 9, 2025
@fheinecke fheinecke mentioned this pull request Jan 8, 2026
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.

3 participants