Privacy context and entitlement settings
This article describes how the Kaltura backend behavior is impacted by the different types of entitlement settings.
When an entry is ONLY assigned to categories that have a privacy context, and the partner configuration has "Default Entitlement Enforcement” checked:
- If the Kaltura Session does not include any entitlement-related privileges, the entry will NOT be returned.
- If the Kaltura Session explicitly disables entitlement, the entry will be returned.
- If the Kaltura Session does not disable entitlements and matches the privacy context of that entry, the entry will be returned.
When an entry is ONLY assigned to categories that have a privacy context and the partner configuration does NOT have “Default Entitlement Enforcement” checked:
- If the Kaltura Session does not include any entitlement-related privileges, the entry will be returned.
- If the Kaltura Session explicitly disables entitlement, the entry will be returned.
- If the Kaltura Session does not disable entitlements, but contains a valid privacy context for that entry, the entry will be returned.
When an entry is ONLY assigned to categories that do not have a privacy context:
- If the Kaltura Session does not disable entitlements, but defines a valid privacy context for that entry, the entry will NOT returned because it does not belong to the searched privacy context (regardless of the "Default Entitlement Enforcement” configuration).
If the entry belongs to multiple categories with or without privacy context:
- If the Kaltura Session does not include any entitlement-related privileges, the entry will be returned (regardless of "Default Entitlement Enforcement” configuration, because the entry is considered public.)
- If the Kaltura Session explicitly disables entitlement, the entry will be returned.
- If the Kaltura Session does not disable entitlements but defines a valid privacy context for that entry, the entry will be returned.
You must match the Kaltura Session parameters to the content that you are trying to retrieve.