Project

General

Profile

Actions

Bug #25681

open

OIDC users are marked as deleted after a new user is provisionned

Added by Clark ANDRIANASOLO about 1 month ago. Updated 13 days ago.

Status:
Pending release
Priority:
1 (highest)
Category:
Web - Maintenance
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I hate Rudder for that
User visibility:
First impressions of Rudder
Effort required:
Very Small
Priority:
176
Name check:
To do
Fix check:
Error - Fixed
Regression:
No

Description

When I configured provisioning of OIDC users in Rudder, I can login provision a first user and it can successfully login, it is active.
When I provision a second one, the user is also logged in and active, but the first user I created gets deleted (marked with status='deleted' in the database table, and in the API JSON response of user-management list, deleted users are just filtered out from the User management dashboard).

When every new user is provisioned, all existing OIDC users are marked deleted in the database.
But this should not happen and other OIDC users should remain with their status.


Files

clipboard-202411061142-b1wbf.png (14.1 KB) clipboard-202411061142-b1wbf.png François ARMAND, 2024-11-06 11:42

Subtasks 3 (0 open3 closed)

Bug #25685: OIDC users need to add individual users in pluginsReleasedFrançois ARMANDActions
Bug #25799: Upmerge addUser method in tests added for OIDC provisioningReleasedFrançois ARMANDActions
Bug #25825: Deleted OIDC user are reactivated after new provisioningReleasedFrançois ARMANDActions
Actions #1

Updated by Clark ANDRIANASOLO about 1 month ago

  • Status changed from New to In progress
Actions #2

Updated by Clark ANDRIANASOLO about 1 month 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/5951
Actions #3

Updated by Clark ANDRIANASOLO about 1 month ago

  • Description updated (diff)
Actions #4

Updated by Clark ANDRIANASOLO about 1 month ago

  • Subtask #25685 added
Actions #5

Updated by Nicolas CHARLES about 1 month ago

  • Priority changed from To review to 1 (highest)
Actions #6

Updated by Clark ANDRIANASOLO 17 days ago

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

Updated by Clark ANDRIANASOLO 17 days ago

  • Subtask #25799 added
Actions #8

Updated by François ARMAND 16 days ago

This is correctly working.

Actions #9

Updated by Clark ANDRIANASOLO 15 days ago

  • Subtask #25825 added
Actions #10

Updated by Clark ANDRIANASOLO 15 days ago

  • Fix check changed from Checked to Error - Blocking

It reactivates deleted users (not disabled ones) : see child issue #25825

Actions #11

Updated by Alexis Mousset 14 days ago

  • Fix check changed from Error - Blocking to Error - Fixed
Actions #12

Updated by Vincent MEMBRÉ 13 days ago

This bug has been fixed in Rudder 8.1.8 and 8.2.1 which were released today.

Actions

Also available in: Atom PDF