plta-permissions-api-cbz

SourcedAccessRight

object

An access right, tagged with where it comes from - held directly by the user, or inherited through membership of a role.

actionNamestringrequired

Name of the action.

Example:read_narrative, write_compound

resourceNamestringrequired

Name of the resource.

Example:compound_1245

sourcestringrequiredread-only

Where this access right comes from. “DIRECT” if held directly by the user, or “ROLE#” if inherited through membership of that role.

Example:DIRECT, ROLE#clintrials:study-reader

userIdstringrequiredread-only

The id of the user, as stored in IDP. For Sanofi internal user, it would be the oid (Unique identifier of the user in Azure AD). Always equal to the userId path parameter.

Example