July 2018
Intermediate to advanced
504 pages
11h 34m
English
Let's see how we can use the edit pre-defined role to grant a user access to another user's project. First, login at MiniShift as alice:
$ oc login -u aliceAuthentication required for https://192.168.99.100:8443 (openshift)Username: alicePassword: <anypassword>Login successful.
Next, create a new project called alice-project:
$ oc new-project alice-projectNow using project "alice-project" on server "https://192.168.99.100:8443"....<output omitted>...
Login as bob and observe that they weren't added as a member to any project by default:
$ oc login -u bobUsername: bobPassword: <anypassword> ...