plta-permissions-api-cbz

Retrieve a list of access rights

Allows the retrieval of all available access rights across all users, filtered by actionName and resourceName.

get
https://dev.api.sanofi.com/permissions/accessRights

Query Parameters

actionNamestring

the name of the action. Will return all access rights containing this action name.

resourceNamestring

the name of the resource. Will return all access rights containing this resource name.

Response

application/json

Success

the combinaison of a profile and a resource (which can be a top resource in a hierarchy or a base resource).

accessRightIdstring(uuid)read-only

the unique identifier of the access right, mostly for deletion purpose.

actionNamestringrequired

Name of the action.

Example:read_narrative, write_compound

resourceNamestringrequired

Name of the resource.

Example:compound_1245

userIdstringrequired

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)

get/accessRights
 
application/json