ephraimbuddy commented on a change in pull request #14219:
URL: https://github.com/apache/airflow/pull/14219#discussion_r597874688
##########
File path: airflow/api_connexion/openapi/v1.yaml
##########
@@ -2364,73 +2473,6 @@ components:
$ref: '#/components/schemas/PluginCollectionItem'
- $ref: '#/components/schemas/CollectionInfo'
- Role:
- description: Role item
- type: object
- properties:
- name:
- type: string
- description: The name of the role
- actions:
- type: array
- items:
- $ref: '#/components/schemas/ActionResource'
-
- RoleCollection:
- description: Role Collections
- type: object
- allOf:
- - type: object
- properties:
- roles:
- type: array
- items:
- $ref: '#/components/schemas/Role'
- - $ref: '#/components/schemas/CollectionInfo'
-
- Action:
- description: Action Item
- type: object
- properties:
- name:
- type: string
- description: The name of the permission "action"
- nullable: false
-
- ActionCollection:
- description: Action Collection
- type: object
- allOf:
- - type: object
- properties:
- actions:
- type: array
- items:
- $ref: '#/components/schemas/Action'
- - $ref: '#/components/schemas/CollectionInfo'
-
- Resource:
- description: A "resource" on which permissions are granted.
- type: object
- properties:
- name:
- type: string
- description: The name of the resource
- nullable: false
-
- ActionResource:
- description: The Action-Resource item
- type: object
- properties:
- action:
- type: object
- $ref: '#/components/schemas/Action'
- description: The permission action
- resource:
- type: object
- $ref: '#/components/schemas/Resource'
- description: The permission resource
-
Review comment:
Moved Role definitions under database entities. Previously was under
python objects
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]