Filter OP resources by tenantId
in Admin API calls
#2929
Labels
pkg: backend
Changes in the backend package.
tenantId
in Admin API calls
#2929
The Rafiki Admin API should use the Kratos session token to retrieve and add a
tenantId
to the context. Resolvers should use this context to:Not Found
response in this case.tenantId
in the input matches the one added to the context, or is from an operatortenantId
from the context.tenantId
as an input from all graphql inputs, and just include it in service requests by pulling it from the context at all times.This logic should be applied to resolvers for:
The text was updated successfully, but these errors were encountered: