Description
Similar to endpoints GET /group/{group_id} and POST /reload, we need to be able to query GET /users/{pcgl_id} with just service credentials as well.
Affected Endpoints:
Reasoning
This is needed to retrieve dacChair and dacMember email addresses for a study to send automated notifications when actions require their attention.
- Example: When an applicant submits updates for requested revisions, the DACO service notifies the relevant dacChair via email.
Current Response from AuthZ
service-id: DACO
{
"type": "about:blank",
"title": "Unauthorized",
"detail": "No authorization token provided",
"status": 401
}
Description
Similar to endpoints
GET /group/{group_id}andPOST /reload, we need to be able to queryGET /users/{pcgl_id}with just service credentials as well.Affected Endpoints:
pcgl-authz/app/src/authz_openapi.yaml
Line 271 in 9f46c36
Reasoning
This is needed to retrieve dacChair and dacMember email addresses for a study to send automated notifications when actions require their attention.
Current Response from AuthZ
service-id: DACO