I've applied Peter Wass solution to fix this well known issue, but the imported roles are still removed.
I checked twice, but I don't understand what I did wrong.
So, here are the steps I performed :
1. I've connected a new SAP reporisoty to IDM
2. I've changed the Jscript sap_abap_getNameOfAssignedPendingPrivileges
3. I've modified the Pass : WriteABAPUsersProfilePrivilegeAssigments
4. I've done the initial load for this new repository
When finished, I went to idm web ui, added a role to a existing user and I got the same problem as before.
What did I miss ?
Thx,
Nicolas.