servicecatalog / oscm-dockerbuild

OSCM docker build files.
Apache License 2.0
3 stars 10 forks source link

Provide option for unlocking administrator account #302

Closed cworf91 closed 3 years ago

cworf91 commented 3 years ago

Summary At the moment, the administrator can unlook user accounts. If the administrator account get locked, a workaround is needed to solve this problem. Therefore, it should be possible to unlock the administrator in a regular way.

Details When the administrator is locked, he should be unlocked when the config settings are udpated. I.e. docker-compose -f docker-compose-initdb.yml up oscm-initdb-core should unlock the user.

Acceptance criteria [ ] Admin can be unlocked

Additional context Add any other context or screenshots about the task.

GoebelL commented 3 years ago

In a positive case the recover password option that is available from the login screen would be the correct way to reactivate the account. This function sends out the recover password email that contains the recovery link for the requesting user. However the issue with administrator here is, that this first administrator user initially doesn't have an email address. This was for historical reasons, which are obsolete meanwhile.