Create an org and space
What?
Cloud Foundry uses role-based access control, with each role granting permissions in either an organization or an application space. Let’s make a new organization and associated space!
Customer Operators use this to assign different orgs and spaces to different teams and can assign quotas to manage load across their company.
How?
- View orgs
cf orgs
and spacescf spaces
(each space is scoped to an org) - Target the system org
cf target -o system
and view spacescf spaces
and appscf apps
- Create a new
onboarding-org
organization with anonboarding-space
space
Expected Result
When creating the organization the current user will be assigned the role of ‘Org Manager’.
Run cf org-users onboarding-org
to verify.
When creating the space the current user will be assigned two new roles in the space - ‘Space Manager’ and ‘Space Developer’
Run cf space-users onboarding-org onboarding-space
to verify.
Resources
Orgs, Spaces, Roles, and Permissions Creating and managing users with the cf CLI
Relevant Repos and Teams
CLI: cloudfoundry/cli CAPI: cloudfoundry/cloud_controller_ng