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

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

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

gzdunek
Copy link
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)
Copy link

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
42 checks passed
@gzdunek gzdunek deleted the gzundek/backport-49125-branch/v16 branch November 22, 2024 14:45
@doggydogworld doggydogworld mentioned this pull request Dec 3, 2024
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