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
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