mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
16 lines
449 B
Plaintext
16 lines
449 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * osd_cluster_admin/dedicated-admin-role.adoc
|
|
|
|
[id="dedicated-admin-granting-permissions_{context}"]
|
|
= Granting permissions to users or groups
|
|
|
|
To grant permissions to other users or groups, you can add, or _bind_, a role to
|
|
them using the following commands:
|
|
|
|
[source,terminal]
|
|
----
|
|
$ oc adm policy add-role-to-user <role> <user_name>
|
|
$ oc adm policy add-role-to-group <role> <group_name>
|
|
----
|