-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RAM] Hide Logs tab in Rules page to unauthorized users, deduplicate …
…rule types requests (#171417) Closes #158256, #155394 ## Summary - Hides the Logs tab in the Stack Management > Rules page when the user lacks the necessary permissions to avoid error messages (as shown in #158256) - Switches old `useLoadRuleTypes` hook usages to the new `useLoadRuleTypesQuery` hook - Assigns a staleTime to the rule types query to avoid duplicated requests (as shown in #155394) --------- Co-authored-by: Xavier Mouligneau <[email protected]>
- Loading branch information
1 parent
727fb13
commit 0f5b544
Showing
18 changed files
with
542 additions
and
383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.