airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles¶
Classes¶
Outgoing representation of an action (permission name). |
|
Outgoing representation of a resource. |
|
Pairing of an action with a resource. |
|
Incoming payload for creating/updating a role. |
|
Outgoing representation of a role and its permissions. |
|
Outgoing representation of a paginated collection of roles. |
Module Contents¶
- class airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles.Action(/, **data)[source]¶
Bases:
airflow.api_fastapi.core_api.base.BaseModelOutgoing representation of an action (permission name).
- class airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles.Resource(/, **data)[source]¶
Bases:
airflow.api_fastapi.core_api.base.BaseModelOutgoing representation of a resource.
- class airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles.ActionResource(/, **data)[source]¶
Bases:
airflow.api_fastapi.core_api.base.BaseModelPairing of an action with a resource.
- class airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles.RoleBody(/, **data)[source]¶
Bases:
airflow.api_fastapi.core_api.base.StrictBaseModelIncoming payload for creating/updating a role.
- permissions: list[ActionResource] = None[source]¶