API Explorer

Just In Time Entitlements

			 |
			 |Just in Time Entitlements are NOT enabled on this instance.
			 |
			 |This is how Just in Time Entitlements work:
			 |
			 |If Just in Time Entitlements are enabled then OBP does the following:
			 |If a user is trying to use a Role (via an endpoint) and the user could grant them selves the required Role(s), then OBP automatically grants the Role.
			 |i.e. if the User already has canCreateEntitlementAtOneBank or canCreateEntitlementAtAnyBank then OBP will automatically grant a role that would be granted by a manual process anyway.
			 |This speeds up the process of granting of roles. Certain roles are excluded from this automation:
			 |  - CanCreateEntitlementAtOneBank
			 |  - CanCreateEntitlementAtAnyBank
			 |Consent users (the principal a Consent-JWT authenticates as) never receive Just in Time Entitlements: their Roles come only from the Consent, even if the Consent carries CanCreateEntitlementAtOneBank.
			 |Nothing is ever granted this way in the system space either, the space whose bank id is the literal SYS. Reaching that space is meant to be a deliberate act, so a Role there is granted by hand by someone holding the system space granting Role; holding the ordinary per bank granting Role at the bank id SYS grants nothing and the request is refused with the usual missing Role error.
			 |If create_just_in_time_entitlements is again set to false after it was true for a while, any auto granted Entitlements to roles are kept in place.
			 |Note: In the entitlements model we set createdbyprocess=create_just_in_time_entitlements. For manual operations we set createdbyprocess=manual
			 |
			 |To enable / disable this feature set the Props create_just_in_time_entitlements=true or false. The default is false.
			 |
			 |