openvstorage / framework

The Framework is a set of components and tools which brings the user an interface (GUI / API) to setup, extend and manage an Open vStorage platform.
Other
27 stars 23 forks source link

User Mgmt: admin can lock himself out of back-end page #827

Closed JeffreyDevloo closed 8 years ago

JeffreyDevloo commented 8 years ago

Problem description

The currently logged in administrator can lock himself out of a back-end page by explicitly denying himself.

Temporary solution

Hyperconverged setup

khenderick commented 8 years ago

To be honest, I didn't implement this because I don't actually care too much if an admin wants to explicitly lock himself out. It might be possible that he created a backend for another admin user, and then - correctly - denies himself access. I don't see too much issues in this.

khenderick commented 8 years ago

Except if a single admin locks himself out by accident, but then he can create a new admin user to grant himself access again. I'll leave this up to @wimpers to decide.

dejonghb commented 8 years ago

Isn't that the same problem as a user removing [him|her]self from users allowed to use sudo or changing [his|her] password to some unknown random thingy and then being unable to login?

JeffreyDevloo commented 8 years ago

Working as intended, could be used for multiple use cases (for instance a setup admin who restricts himself access afterwards) Closing.