Skip to content

Commit

Permalink
Merge pull request #28045 from jerolimov/ODC-7333
Browse files Browse the repository at this point in the history
ODC-7333: Add consolesamples to the list of console resources that all users should have read access
  • Loading branch information
openshift-merge-robot committed Jul 14, 2023
2 parents 7b7684f + e6c46f9 commit 8cfd84e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/extended/authorization/rbac/groups_default_rules.go
Expand Up @@ -204,7 +204,16 @@ var _ = g.Describe("[sig-auth][Feature:OpenShiftAuthorization] The default clust
[]rbacv1.PolicyRule{
// These custom resources are used to extend console functionality
// The console team may eventually eliminate this exception
rbacv1helpers.NewRule(read...).Groups(consoleGroup).Resources("consoleclidownloads", "consolelinks", "consoleexternalloglinks", "consolenotifications", "consoleyamlsamples", "consolequickstarts", "consoleplugins").RuleOrDie(),
rbacv1helpers.NewRule(read...).Groups(consoleGroup).Resources(
"consoleclidownloads",
"consoleexternalloglinks",
"consolelinks",
"consolenotifications",
"consoleplugins",
"consolequickstarts",
"consolesamples",
"consoleyamlsamples",
).RuleOrDie(),

// HelmChartRepository instances keep Helm chart repository configuration
// By default users are able to browse charts from all configured repositories through console UI
Expand Down

0 comments on commit 8cfd84e

Please sign in to comment.