feat(graph): [OCISDEV-458] [OCISDEV-459] add users instances

The user endpoint now returns the instances that the user is either
a member or a guest of and the cross instance reference.
This commit is contained in:
Lukas Hirt
2026-01-19 11:41:32 +01:00
parent 789f44168e
commit a8efe46b10
13 changed files with 1014 additions and 120 deletions

View File

@@ -115,6 +115,8 @@ services:
OCIS_MULTI_INSTANCE_MEMBER_CLAIM: "memberOf"
OCIS_MULTI_INSTANCE_GUEST_CLAIM: "guestOf"
OCIS_MULTI_INSTANCE_GUEST_ROLE: "user-light"
OCIS_LDAP_CROSS_INSTANCE_REFERENCE_TEMPLATE: "{{.Username}}@{{.Instancename}}.owncloud.test"
OCIS_LDAP_INSTANCE_URL_TEMPLATE: "https://{{.Instancename}}.owncloud.test"
# Workaround needed to show external users - can be removed once fixed
OCIS_SHOW_USER_EMAIL_IN_RESULTS: true
PROXY_ROLE_ASSIGNMENT_OIDC_CLAIM: ownCloudRole
@@ -209,6 +211,8 @@ services:
OCIS_MULTI_INSTANCE_MEMBER_CLAIM: "memberOf"
OCIS_MULTI_INSTANCE_GUEST_CLAIM: "guestOf"
OCIS_MULTI_INSTANCE_GUEST_ROLE: "user-light"
OCIS_LDAP_CROSS_INSTANCE_REFERENCE_TEMPLATE: "{{.Username}}@{{.Instancename}}.owncloud.test"
OCIS_LDAP_INSTANCE_URL_TEMPLATE: "https://{{.Instancename}}.owncloud.test"
# user filter required for multi-instance ocis
# Workaround needed to show external users - can be removed once fixed
OCIS_SHOW_USER_EMAIL_IN_RESULTS: true