From 5b52d6945bdd6c30c8eeba6acc11828a1900c0cf Mon Sep 17 00:00:00 2001 From: GitHub Action Bot Date: Wed, 11 Oct 2023 19:31:56 +0000 Subject: [PATCH] Automated commit 'ISCARP-12339 - Add scope info to access-request endpoints (#1444) * ISCARP-12339 - Add scope info to access-request endpoints * ISCARP-123339 - Linting fix for put method name in operationId' by github action: 6487149128 --- idn/v3/paths/access-request-approval-summary.yaml | 2 ++ idn/v3/paths/access-request-cancel.yaml | 2 ++ idn/v3/paths/access-request-config.yaml | 6 +++++- idn/v3/paths/access-request-status.yaml | 2 ++ idn/v3/paths/access-requests.yaml | 2 +- 5 files changed, 12 insertions(+), 2 deletions(-) diff --git a/idn/v3/paths/access-request-approval-summary.yaml b/idn/v3/paths/access-request-approval-summary.yaml index 7ddbafb3..d144d71b 100644 --- a/idn/v3/paths/access-request-approval-summary.yaml +++ b/idn/v3/paths/access-request-approval-summary.yaml @@ -1,5 +1,7 @@ get: operationId: getAccessRequestApprovalSummary + security: + - UserContextAuth: [ idn:access-request-approvals-summary:read ] summary: Get the number of access-requests-approvals tags: - Access Request Approvals diff --git a/idn/v3/paths/access-request-cancel.yaml b/idn/v3/paths/access-request-cancel.yaml index 1b4a3bbf..4a8ba6eb 100644 --- a/idn/v3/paths/access-request-cancel.yaml +++ b/idn/v3/paths/access-request-cancel.yaml @@ -1,5 +1,7 @@ post: operationId: cancelAccessRequest + security: + - UserContextAuth: [ idn:access-request:cancel ] tags: - Access Requests summary: Cancel Access Request diff --git a/idn/v3/paths/access-request-config.yaml b/idn/v3/paths/access-request-config.yaml index 27e9a0f1..ebf3965e 100644 --- a/idn/v3/paths/access-request-config.yaml +++ b/idn/v3/paths/access-request-config.yaml @@ -1,5 +1,7 @@ get: operationId: getAccessRequestConfig + security: + - UserContextAuth: [ idn:access-request-config:read ] summary: Get Access Request Configuration tags: - Access Requests @@ -24,7 +26,9 @@ get: $ref: '../responses/500.yaml' put: - operationId: updateAccessRequestConfig + operationId: setAccessRequestConfig + security: + - UserContextAuth: [ idn:access-request-config:update ] summary: Update Access Request Configuration tags: - Access Requests diff --git a/idn/v3/paths/access-request-status.yaml b/idn/v3/paths/access-request-status.yaml index fe495f63..db4dff85 100644 --- a/idn/v3/paths/access-request-status.yaml +++ b/idn/v3/paths/access-request-status.yaml @@ -1,5 +1,7 @@ get: operationId: listAccessRequestStatus + security: + - UserContextAuth: [ idn:access-request-status:read ] tags: - Access Requests summary: Access Request Status diff --git a/idn/v3/paths/access-requests.yaml b/idn/v3/paths/access-requests.yaml index b2837785..d0279b25 100644 --- a/idn/v3/paths/access-requests.yaml +++ b/idn/v3/paths/access-requests.yaml @@ -1,7 +1,7 @@ post: operationId: createAccessRequest security: - - UserContextAuth: [ idn:access-request:manage ] + - UserContextAuth: [ idn:access-request:create ] summary: Submit an Access Request tags: - Access Requests