Defect #2970
closedWhen we use URL for a new user repeatedly, IdM tries to update the original identity
100%
Description
Tested on 11.1.1
The users's manager saved the URL (as their bookmark) to the form, where they create a new user by a form projection. However, when they used the same URL, IdM tried to update the original identity instead of creating a new one.
- create some form projection, use e.g. the frontend target /form/identity-projection
- on Users, click Create user -> select the form projection
- save the URL to your bookmarks, e.g. https://.../idm/#/form/identity-projection/09e53010-2527-11ec-8f6c-ff88b992479a?new=1&projection=461608d3-1992-49c6-a418-9131433ff565
- save the new user
- log out, refresh browser
- got to the saved URL again
- fill the values for another user
- save
- look into audit - no new user was created, the original user was updated
This doesn't happen for the default form for creating identities, only for form projections.
Files
Updated by Radek Tomiška about 3 years ago
- Status changed from New to In Progress
Updated by Radek Tomiška about 3 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Ondrej Husník
- % Done changed from 0 to 90
I improved creating new identity by projection - permaling for creating new identity bz selected projection is supported now.
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/305d60092377fca2b44f37f9e3aec981ae55eb60
Could you provide me a feedback, please?
Updated by Ondrej Husník about 3 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondrej Husník to Radek Tomiška
- % Done changed from 90 to 100
I tested this fix and a new identity is now created instead of updating the previous one when repeatedly using the saved link.
Great.
Updated by Radek Tomiška about 3 years ago
- Target version changed from 12.0.0 to 11.2.2
Updated by Radek Tomiška about 3 years ago
- Status changed from Resolved to Closed