I was just trying to implement ROLE based access in Open shift and have following queries:
I have user1 which is cluster-admin and with that I want to create a user2 that can view only project2.
1. Which command can I use with user1 to create user2
$
oc adm policy add-role-to-user view user2 -n project2
$
oc policy add-role-to-user view user2 -n project2
2. Also how to verify if this user with this specific rights is created correctly, is there any command.
3. How to remove project creation capability from one user.
------------------------------
Niket Agrawal
------------------------------