Description of problem:
User can remove himself as project admin and lose ability to access or delete the project. In online environment this would prevent creating a new project as well.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create project
2. in console open project, Resources->Membership->Users
3. remove admin role from self
browser shows just white screen
User is prevented from deleting his role unless there is already another admin for the project.
Alternatively there should be a mechanism for user to reclaim project admin provided project counts toward user's quota.
Or some other user-friendly solution.
OpenShift Online Preview has been decommissioned, go to https://manage.openshift.com/ for using OpenShift Online starter cluster
This issue is not cluster installation specific. Just on online. I can't test the Online Starter cluster right now. When I have access I will. I'd reopen this issue until then.
This is perhaps more of an RFE.
I do not see how this is an auth bug in any way. The system works as designed, I moved the component to RFE where it can be evaluated and eventually assigned or closed. It sounds more of an operational problem to me, than somethign we can implement/resolve via a generic mechanism though.
Given user is on the hook for the bills, then being unable to restore your access to the resources would definitely be a bug, at least UX problem.
Can we somehow disallow removing the owner from the admin list? Or at the very least we need to document how access can be restored (e.g. contact support@...).
(In reply to Simo Sorce from comment #7)
> me, than somethign we can implement/resolve via a generic mechanism though.
(In reply to Aleksandar Kostadinov from comment #8)
> Given user is on the hook for the bills, then being unable to restore your
> access to the resources would definitely be a bug, at least UX problem.
Hope at least Online Starter can have mechanism like https://bugzilla.redhat.com/show_bug.cgi?id=1424598#c2 . Thank you!
Currently Online Starter e.g. free-int, does not have that mechanism, as QE met in https://github.com/openshift/cucushift/pull/5824#issue-287360347
Created a card to address this: https://trello.com/c/QbxeBtzk