minder icon indicating copy to clipboard operation
minder copied to clipboard

Projects can be orphaned without an administrator

Open evankanderson opened this issue 2 years ago • 0 comments

Describe the issue

In https://github.com/stacklok/minder/pull/2275/files#r1506378930, we discussed whether a project should be garbage collected if there are users assigned to non-admin roles, but no users with admin roles remain on the project after a DeleteUser callback from Keycloak.

Our current behavior is:

They can't do much on it, they'd have to add a support ticket for us to fix it. I think this is acceptable since we don't just want to randomly remove projects from folks.

We should consider whether removing the project and the entities the project manages is more user-friendly, as it allows someone else to register the entities again with Minder without needing Stacklok intervention.

To Reproduce

Create a project, share it with another user with viewer permission, and then delete the Keycloak account for the user who created the project (and was the sole admin).

What version are you using?

No response

evankanderson avatar Mar 06 '24 19:03 evankanderson