-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle fetching from inventory for users that don't have permissions …
…to list all namespaces Reference: #1293 Handle providers fetching from inventory for users with limited namespace roles, who can only list their namespaces content and don't have get permissions to all namespaces. Before the fix, when those users tried to fetch providers inventory data, regarldess to current namespace, the "inventory server is not reachable" error was always displayed. After this fix, those users will not fetch all namepsaces but only ones which they allow to list. So the fetching should now succeed and no error should be displayed. Signed-off-by: Sharon Gratch <[email protected]>
- Loading branch information
Showing
3 changed files
with
79 additions
and
9 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