Skip to content

Add graphql queries for Opencast user provider lookup - #1723

Closed
owi92 wants to merge 1 commit into
elan-ev:mainfrom
owi92:opencast-userprovider
Closed

owi92 wants to merge 1 commit into
elan-ev:mainfrom
owi92:opencast-userprovider

Conversation

@owi92

@owi92 owi92 commented May 3, 2026 •

Copy link
Copy Markdown
Member

This adds knownUserByUsername and findKnownUsers queries that expose username, display name, email, and user role for external application(s). They can be used in the admin UI to display and add user roles that are only known in Tobira to ACLs in Opencast.

Also added is a case-insensitive role label resolution since Opencast changes username casing of roles. This avoids situations where OC queries a role like ROLE_ROLO_TONY from Tobira and transforms it to ROLE_rolo_tony when writing it to an ACL, which in turn would end up in Tobira as rolo tony (unknown).

Closes #1700 (when combined with opencast/opencast#7629 in Opencast)

This adds `knownUserByUsername` and `findKnownUsers` queries that
expose username, display name, email, and user role for external
application(s). They can be used in the admin UI to display and
add user roles that are only known in Tobira to ACLs.

Also added is a case-insensitive role label resolution since Opencast
changes username casing of roles. This avoids situations where OC queries
a role like `ROLE_GUENTHER` from Tobira and transforms it to `ROLE_guenther`
when writing it to an ACL, which in turn would end up in Tobira as
`guenther (unknown)`.
@owi92 owi92 added the changelog:dev Changes primarily for developers label May 3, 2026
@github-actions
github-actions Bot temporarily deployed to test-deployment-pr1723 May 3, 2026 16:48 Destroyed
@github-actions github-actions Bot added the status:conflicts This PR has conflicts that need to be resolved label Aug 25, 2026
@github-actions

Copy link
Copy Markdown

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@owi92

owi92 commented Oct 28, 2026

Copy link
Copy Markdown
Member Author

superseded by #1822

@owi92 owi92 closed this Oct 28, 2026

This branch was successfully deployed

No deployments
test-deployment-pr1723 — 239610e6 Deployed May 3, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:dev Changes primarily for developers status:conflicts This PR has conflicts that need to be resolved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tobira users are not easily identifiable in OC - and vice versa

1 participant