Skip to content

Commit

Permalink
Automated commit 'ISCARP-12339 - Add scope info to access-request end…
Browse files Browse the repository at this point in the history
…points (#1444)

* ISCARP-12339 - Add scope info to access-request endpoints

* ISCARP-123339 - Linting fix for put method name in operationId' by github action: 6487149128
  • Loading branch information
tyler-mairose-sp committed Oct 11, 2023
1 parent 5ffb06b commit 5b52d69
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions idn/v3/paths/access-request-approval-summary.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions idn/v3/paths/access-request-cancel.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
post:
operationId: cancelAccessRequest
security:
- UserContextAuth: [ idn:access-request:cancel ]
tags:
- Access Requests
summary: Cancel Access Request
Expand Down
6 changes: 5 additions & 1 deletion idn/v3/paths/access-request-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
get:
operationId: getAccessRequestConfig
security:
- UserContextAuth: [ idn:access-request-config:read ]
summary: Get Access Request Configuration
tags:
- Access Requests
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions idn/v3/paths/access-request-status.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
get:
operationId: listAccessRequestStatus
security:
- UserContextAuth: [ idn:access-request-status:read ]
tags:
- Access Requests
summary: Access Request Status
Expand Down
2 changes: 1 addition & 1 deletion idn/v3/paths/access-requests.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5b52d69

Please sign in to comment.