Skip to content

Commit 0a267fe

Browse files
author
Rishu Mehra
committed
[RHDEVDOCS-2879] Document ability to customize available cluster roles for Projects
1 parent dd3c9f7 commit 0a267fe

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

applications/projects/working-with-projects.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ include::modules/viewing-a-project-using-the-CLI.adoc[leveloffset=+1]
3030

3131
include::modules/odc-providing-project-permissions-using-developer-perspective.adoc[leveloffset=+1]
3232

33+
include::modules/odc-customizing-available-cluster-roles-using-developer-perspective.adoc[leveloffset=+1]
34+
3335
include::modules/adding-to-a-project.adoc[leveloffset=+1]
3436

3537
include::modules/checking-project-status-using-the-web-console.adoc[leveloffset=+1]

images/odc_cluster_console.png

55.7 KB
Loading
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Module included in the following assemblies:
2+
//
3+
// applications/projects/working-with-projects.adoc
4+
5+
[id="odc-customizing-available-cluster-roles-using-developer-perspective_{context}"]
6+
= Customizing the available cluster roles using the Developer perspective
7+
8+
The users of a project are assigned to a cluster role based on their access control. You can access these cluster roles by navigating to the *Project* -> *Project access* -> *Role*. By default, these roles are *Admin*, *Edit*, and *View*.
9+
10+
To add or edit the cluster roles for a project, you can customize the YAML code of the cluster.
11+
12+
.Procedure
13+
To customize the different cluster roles of a project:
14+
15+
. In the *Search* view, use the *Resources* drop-down list to search for `Console`.
16+
. From the available options, select the *Console `operator.openshift.io/v1`*.
17+
+
18+
.Searching Console resource
19+
image::odc_cluster_console.png[]
20+
. Select *cluster* under the *Name* list.
21+
. Navigate to the *YAML* tab to view and edit the YAML code.
22+
. In the YAML code under `spec`, add or edit the list of `availableClusterRoles` and save your changes:
23+
+
24+
[source,yaml]
25+
----
26+
spec:
27+
customization:
28+
projectAccess:
29+
availableClusterRoles:
30+
- admin
31+
- edit
32+
- view
33+
----

0 commit comments

Comments
 (0)