https://bugster.forgerock.org/jira/browse/OPENIDM-11779 handles the creation of relationships between managed objects and condition-defining internal roles when a such an internal role is created or updated. This JIRA covers the 'grantee' side of the relationships: the creation or update of a user-specified managed object type will automatically create a relationship to all managed and internal roles whose condition is satisfied by the managed object.
This java-based logic will replace the 'grantee' logic in conditionalRoles.js.
Acceptance criteria: create an internal or managed role which defines a condition. Then create a managed user which fulfills this condition. Confirm that a relationship now exists between the two. All existing functional tests relating to conditional roles will be passed when the java logic defined in this class replaces the user script hooks which currently invoke conditionalRoles.js