Project

General

Profile

Actions

Bug #25300

closed

Only remaining user managed by file cannot be deleted

Added by Clark ANDRIANASOLO 3 months ago. Updated about 2 months ago.

Status:
Released
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:
89
Name check:
To do
Fix check:
Checked
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 3 months ago

  • Status changed from New to In progress
Actions #2

Updated by Clark ANDRIANASOLO 3 months ago

  • Target version changed from 8.2.0~beta1 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 3 months 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 #4

Updated by Clark ANDRIANASOLO 3 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Clark ANDRIANASOLO 2 months ago

  • Fix check changed from To do to Checked
Actions #6

Updated by Vincent MEMBRÉ about 2 months ago

  • Status changed from Pending release to Released
  • Priority changed from 90 to 89

This bug has been fixed in Rudder 8.1.7 which was released today.

Actions

Also available in: Atom PDF