airflow.providers.fab.auth_manager.api_fastapi.routes.roles¶
Attributes¶
Functions¶
|
Create a new role (actions can be empty). |
|
List roles with pagination and ordering. |
|
Delete an existing role. |
|
Get an existing role. |
|
Update an existing role. |
|
List all action-resource (permission) pairs. |
Module Contents¶
- airflow.providers.fab.auth_manager.api_fastapi.routes.roles.create_role(body)[source]¶
Create a new role (actions can be empty).
- airflow.providers.fab.auth_manager.api_fastapi.routes.roles.get_roles(order_by=Query('name', description="Field to order by. Prefix with '-' for descending."), limit=Depends(get_effective_limit()), offset=Query(0, ge=0, description='Number of items to skip before starting to collect results.'))[source]¶
List roles with pagination and ordering.
- airflow.providers.fab.auth_manager.api_fastapi.routes.roles.delete_role(name=Path(..., min_length=1))[source]¶
Delete an existing role.
- airflow.providers.fab.auth_manager.api_fastapi.routes.roles.get_role(name=Path(..., min_length=1))[source]¶
Get an existing role.