February 22, 2015 at 1:38 am #3163rjv2fxParticipant
I am integrating some of OpenIDM’s functionality within my own application through it’s REST 3.2 API. I’m focusing on entitlement (assignment) management. I see that Assignments are parts of a role definition. I’ve gone through the documentation ( http://openidm.forgerock.org/doc/bootstrap/integrators-guide/#chap-users-groups-roles ) and see that there are REST calls for creating roles, mapping roles, and removing roles, but there aren’t any assignment-specific REST calls.
If I wanted to add an entitlement to a specific role, is there a straightforward way of doing it? Will I have to create a new role with the new assignment defined within, remove the old role, assign the new role and delete the old role?
Will I have to update each user and add the new assignment?
Any and all assistance is much appreciated.February 23, 2015 at 2:24 am #3166Mike JangSpectator
Have you looked at provisioning? If I’m reading your question correctly, usecase 5 might address what you’re looking for, ref http://openidm.forgerock.org/doc/bootstrap/integrators-guide/#use-case-5
MikeFebruary 23, 2015 at 4:05 pm #3171rjv2fxParticipant
Thanks you, this does appear to line up with my goal quite nicely. However, I’d like to integrate this functionality into my own UI. Is there a way to mimic this functionality via REST, or am I grasping at straws?
RayFebruary 23, 2015 at 6:32 pm #3173Mike JangSpectator
Have you looked at the REST calls in the noted use case? It includes examples that can help you set up entitlements (assignments) for specific custom roles.
You must be logged in to reply to this topic.