SysUser update and "remove"
Update UserServiceImpl
to allow for updating the login provider
of an existing user in update(SysUser source)
. The provider
string must be one of the available OAuth registrationId
keys, including "local"
, ...
We need an API endpoint with the Map of registrationId
and clientName
so the UI can render the form.
Add a remove(SysUser)
method. Since we cannot safely delete a SysUser
record, we use the same approach as in Genesys archiveUser()
: update username and SID to deleted@timestamp
, and remove any ACL entries from the database.