Skip to content

Handle Appointment roles - #1348

Merged
donaldgray merged 2 commits into
developfrom
feature/appointment_role
Nov 13, 2026
Merged

donaldgray merged 2 commits into
developfrom
feature/appointment_role

Conversation

@donaldgray

@donaldgray donaldgray commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

What does this change?

Orchestrator support for the Appointment role-provider added to iiif-auth-v2 (see the dlcs/iiif-auth-v2#69). All roles will have appointment: prefix. Orchestrator uses this naming convention to determine how it needs to call iiif-auth-v2.

OrchestrationAssets with a appointment:* role will have full metadata populated as iiif-auth-v2 requires this to make a decision. The inclusion of this role is used as it'll be a much smaller set of assets and avoids bloating all assets in orchestrator cache. Adjuncts use Asset parent role for same thing.

For appointment roles /verifyaccess/ and /probe_internal/ requests POST rather than GET to specify the additional fields. Non-null fields are passed. Number1-3 are always passed as we don't have nulls and can't distinguish between valid and invalid 0.

Note

Requires iiif-auth-v2 that supports POST endpoints. (assuming v1.4.0)

Resolves #1346

@donaldgray
donaldgray requested a review from a team as a code owner November 6, 2026 16:34
Base automatically changed from feature/ip_role to develop November 10, 2026 13:39
@donaldgray donaldgray linked an issue Nov 10, 2026 that may be closed by this pull request
This is only populated if Asset has an appointments role, this avoids
bloating the cached OrchestrationAsset when it will seldom be used
Number1-3 will always be passed as it is not-null in DB so we can't
distinguish between valid and invalid 0.
String1-3 only passed if there is a value.
@donaldgray
donaldgray force-pushed the feature/appointment_role branch from f9a77b0 to 7c6a042 Compare November 10, 2026 13:48
@donaldgray
donaldgray merged commit e228e8b into develop Nov 13, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Appointment Role Provider

2 participants