Skip to content

Commit

Permalink
Set groups and aliases properly for permissions (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonsSpaghetti authored May 15, 2024
1 parent b798d83 commit ea664d6
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions airbyte-api.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1233,8 +1233,10 @@ paths:
description: "Not found"
"422":
description: "Data issue"
operationId: null
operationId: "getPermission"
summary: "Get Permission details"
x-speakeasy-alias: "getPermission"
x-speakeasy-group: "Permissions"
x-speakeasy-entity-operation: "Permission#read"
patch:
tags:
Expand Down Expand Up @@ -1262,8 +1264,10 @@ paths:
description: "Not found"
"422":
description: "Data issue"
operationId: null
operationId: "updatePermission"
summary: "Update a permission"
x-speakeasy-alias: "updatePermission"
x-speakeasy-group: "Permissions"
x-speakeasy-entity-operation: "Permission#update"
delete:
tags:
Expand All @@ -1279,7 +1283,9 @@ paths:
description: "Not found"
"422":
description: "Data issue"
operationId: null
operationId: "deletePermission"
x-speakeasy-alias: "deletePermission"
x-speakeasy-group: "Permissions"
summary: "Delete a Permission"
x-speakeasy-entity-operation: "Permission#delete"
/permissions:
Expand All @@ -1302,12 +1308,14 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/PermissionsResponse"
description: "List Permissions by user id."
description: "List Permissions."
"403":
description: "Not allowed"
"404":
description: "Not found"
operationId: null
operationId: "listPermissions"
x-speakeasy-alias: "listPermissions"
x-speakeasy-group: "Permissions"
summary: "List Permissions by user id"
post:
tags:
Expand Down Expand Up @@ -1988,6 +1996,14 @@ components:
x-speakeasy-entity: "Permission"
x-speakeasy-param-suppress-computed-diff: true
x-speakeasy-component: true
PermissionScope:
description: "Scope of a single permission, e.g. workspace, organization"
type: "string"
enum:
- "workspace"
- "organization"
- "none"
x-speakeasy-component: true
PermissionResponseRead:
title: "Root type for PermissionResponseRead"
description: "Reformat PermissionResponse with permission scope"
Expand Down

0 comments on commit ea664d6

Please sign in to comment.