Manage access to a project
You must be admin of the project.
# syntax: oc policy add-role-to-user <role> <user> $ oc policy add-role-to-user admin cust-foo1 role "admin" added: "cust-foo1"
In the left hand menu, select. On the "Users" tab, click the Edit Membership button on the top right. Input the username into the text field and select a role from the dropdown menu. Click Add and then Done Editing.
In both cases (CLI and GUI), user names aren’t validated. You can enter whatever you want and OpenShift won’t complain about it!
# syntax oc policy remove-role-from-user <role> <user> oc policy remove-role-from-user admin cust-foo1 role "admin" removed: "cust-foo1"