-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes roles list/read dependency for listing desktops
Changes in #22118 were backported incorrectly to v10 in #22344, which caused the roles list/read dependency to be enforced for listing desktops. These changes fix that issue by using the SessionContext's AccessChecker to get the Roles of the current user, rather than requesting them with the auth.ClientI which is authenticated as the user themselves.
- Loading branch information
1 parent
f14c9e0
commit f648a5f
Showing
3 changed files
with
8 additions
and
11 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