Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Space Managers to onboard Space Developers #3416

Open
colinjoy opened this issue Aug 31, 2023 · 0 comments
Open

Allow Space Managers to onboard Space Developers #3416

colinjoy opened this issue Aug 31, 2023 · 0 comments

Comments

@colinjoy
Copy link

colinjoy commented Aug 31, 2023

Issue

Following the "Best Practices for SAP BTP" guide on setting up your account model, you end up with orgs hosting multiple applications/projects that are separated in different spaces.
To allow project teams to manage their development teams autonomously, a Space Manager should be able to onboard/offboard a Space Developer without needing to involve a central team (Org Managers) as it poses a bottle neck and requires manual communication processes (email, dm ...).

Today, this is not possible, because no Space role can be assigned by the Space Manager, if the user to added does not have a role on the Org already (which the Space Developer cannot grant themselves).

From #3377 I understand that this is by design?

The V2 API assigned the organization_user automatically when assigning any org or space role to a user. V3 does not do so anymore (which is good).

Similarly, the documentation on "Orgs, spaces, roles, and permissions in Cloud Foundry" reads:

In the v2 Cloud Controller API, when an Org Manager gives a person an Org or Space role, that person automatically receives Org User status in that org. This is no longer the case in the V3 Cloud Controller API.

Expected result

A user with Space Manager role can grant/revoke Space Developer role for a space on a user who has no role in the parent Org yet.

Possible Fix

Differentiate between Org User role that is explicitly granted and Org User role that is granted implicitly by having a role in a child Space (so that "Implicit Org User role" can be cleaned up when the last Space level role is revoked).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants