Recreate deprovidioned users on login
@pablothedude is already working on this.
Since Jan 23, 2025.
Assessment
This issue has not been assessed yet.
Description
When a user had been deprovisioned trough the lifecycle API, he might return later, and get the same collabpersonID.
At the moment, this causes an error:
{"message":"Exception occurred while processing command \"Surfnet\\StepupMiddleware\\CommandHandlingBundle\\Identity\\Command\\UpdateIdentityCommand[e4731040-7b60-40d4-aca9-634861466db8]\": \"Operation on this Identity is not allowed: it has been forgotten\", rolling back transaction","context":{"exception":{"class":"Surfnet\\Stepup\\Exception\\DomainException","message":"Operation on this Identity is not allowed: it has been forgotten","code":0,"file":"/var/www/html/src/Surfnet/Stepup/Identity/Identity.php:1446"}},"level":400,"level_name":"ERROR","channel":"app","datetime":"2025-01-23T15:18:54+01:00","extra":{"art":"24787","server":"middleware.test2.surfconext.nl","application":"middleware","request_id":"8bffc46f51882904a0f39a71d9d6e54b"}}
{"message":"Transaction for command \"Surfnet\\StepupMiddleware\\CommandHandlingBundle\\Identity\\Command\\UpdateIdentityCommand[e4731040-7b60-40d4-aca9-634861466db8]\" rolled back, re-throwing exception","context":{},"level":100,"level_name":"DEBUG","channel":"app","datetime":"2025-01-23T15:18:54+01:00","extra":{"server":"middleware.test2.surfconext.nl","application":"middleware","request_id":"8bffc46f51882904a0f39a71d9d6e54b"}}
If a user returns after being forgotten, we should recreate the user as if it was a new user.
- Dominant language
- PHP
- Stars
- 3
- Forks
- 3
- Avg merge
- 6d 7h
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenConext/Stepup-Middleware
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
OpenConext/Stepup-Middleware#637 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
OpenConext/Stepup-Middleware#607 ·
-
logging
Difficulty 3/5 1-2 days Newbie friendliness 35/100
OpenConext/Stepup-Middleware#582 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
OpenConext/Stepup-Middleware#559 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
OpenConext/Stepup-Middleware#537 ·
All issues in OpenConext/Stepup-Middleware
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
area/import type/enhancement when/later
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
parime/glpi-iso27001-management#1165 ·
Maintainers usually reply within 1 day
-
15.0
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
opnsense/plugins#5976 · 1 comment ·
Maintainers usually reply within 1 day