servicecatalog / oscm-dockerbuild

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

Allow to rename administrator user for OIDC repeatedly #301

Closed cworf91 closed 3 years ago

cworf91 commented 3 years ago

Summary At the moment, it´s possible to rename the administrator user just one time. In the future it shoud be possible to rename the user as often as wanted.

Details The current querry uses at the moment the "userid" UPDATE ${DB_USER_CORE}.platformuser SET userid ='${ADMIN_USER_ID}', realmuserid='${ADMIN_USER_ID}' WHERE userId='administrator'; when changing the WHERE condition to userkey=1000 it should solve this problem

Acceptance criteria [ ] Admin user can be changed as often as wanted [ ] No sideeffekts