Project

General

Profile

Actions

Bug #25300

open

Only remaining user managed by file cannot be deleted

Added by Clark ANDRIANASOLO 3 days ago. Updated 1 day ago.

Status:
Pending technical review
Priority:
N/A
Category:
Web - UI & UX
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I dislike using that feature
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Small
Priority:
90
Name check:
To do
Fix check:
To do
Regression:
No

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

clipboard-202408121139-c5bb9.png (59.2 KB) clipboard-202408121139-c5bb9.png Clark ANDRIANASOLO, 2024-08-12 11:39
Actions #1

Updated by Clark ANDRIANASOLO 2 days ago

  • Status changed from New to In progress
Actions #2

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

Actions #3

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
Actions

Also available in: Atom PDF