Skip to content

Accessing Participant Roles in Policy Extension #485

Closed Answered by paullatzelsperger
lesile231 asked this question in Q&A
Discussion options

You must be logged in to vote

the roles of a ParticipantContext are an internal concept of IdentityHub that is not exposed to external clients, and that is to be used only for authn/authz, and not for policy evaluation.

For policy eval, only claims of a VC can be used. If a "role" is a first-level concept in your data space, then you will have to issue VerifiableCredentials that contain role information in their credentialSubject.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by paullatzelsperger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants