Bug #25300
openOnly remaining user managed by file cannot be deleted
Description
When starting Rudder with only the OIDC provider enabled (properties rudder.auth.provider=oidc
), and when still having other users managed by file,
when attempting to delete the file users from the button, they are successfully removed from the user management interface, except for the last one :
There is a success notification, and the user is no longer in the rudder-users.xml
file. But in the database the user is still present with the active
or disabled
status instead of deleted
.
That user should be marked as deleted in the database and no longer displayed in the main user management interface.
N.B. : there are also another weird behavior : after deleting it (then it the file no longer has users), and creating a new user from the interface, the previous user eventually gets deleted and replaced by the new user 🤯
Files
Updated by Clark ANDRIANASOLO 1 day ago
- Target version changed from 8.2.0~alpha2 to 8.1.7
- Priority changed from 45 to 90
This happens since 8.1 even with the old user-management interface, likely since #24344
Updated by Clark ANDRIANASOLO 1 day ago
- Status changed from In progress to Pending technical review
- Assignee changed from Clark ANDRIANASOLO to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/5812