mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * web_console/creating-quick-start-tutorials.adoc
|
|
|
|
:_mod-docs-content-type: CONCEPT
|
|
[id="limiting-access-to-quick-starts_{context}"]
|
|
= Limiting access to a quick start
|
|
|
|
Not all quick starts should be available for everyone. The `accessReviewResources` section of the YAML file provides the ability to limit access to the quick start.
|
|
|
|
To only allow the user to access the quick start if they have the ability to create `HelmChartRepository` resources, use the following configuration:
|
|
|
|
[source,yaml]
|
|
----
|
|
accessReviewResources:
|
|
- group: helm.openshift.io
|
|
resource: helmchartrepositories
|
|
verb: create
|
|
----
|
|
|
|
To only allow the user to access the quick start if they have the ability to list Operator groups and package manifests, thus ability to install Operators, use the following configuration:
|
|
|
|
|
|
[source,yaml]
|
|
----
|
|
accessReviewResources:
|
|
- group: operators.coreos.com
|
|
resource: operatorgroups
|
|
verb: list
|
|
- group: packages.operators.coreos.com
|
|
resource: packagemanifests
|
|
verb: list
|
|
----
|