1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/configuring-user-level-access.adoc
2023-10-30 10:13:25 -04:00

48 lines
971 B
Plaintext

// Module is included in the following assemblies:
//
// * installing-red-hat-openshift-gitops
:_mod-docs-content-type: PROCEDURE
[id="configuring-user-level-access_{context}"]
= Configuring user level access
[role="_abstract"]
To manage and modify the user level access, configure the RBAC section in Argo CD custom resource.
.Procedure
* Edit the `argocd` Custom Resource:
+
[source,terminal]
----
$ oc edit argocd [argocd-instance-name] -n [namespace]
----
.Output
+
[source,yaml]
----
metadata
...
...
rbac:
policy: 'g, rbacsystem:cluster-admins, role:admin'
scopes: '[groups]'
----
+
* Add the `policy` configuration to the `rbac` section and add the `name`, `email` and the `role` of the user:
+
[source,yaml]
----
metadata
...
...
rbac:
policy: <name>, <email>, role:<admin>
scopes: '[groups]'
----
[NOTE]
====
Currently, RHSSO cannot read the group information of {gitops-title} users. Therefore, configure the RBAC at the user level.
====