Apache Airflow · Arazzo Workflow
Apache Airflow Provision a User with a Role
Version 1.0.0
Ensure a role exists with the intended permissions, create a user bound to it, and verify the assignment.
View Spec
View on GitHub
ApacheDAGData PipelineETLOpen SourceOrchestrationPythonSchedulingWorkflowArazzoWorkflows
Provider
Workflows
provision-user
Create a role if needed, then create a user assigned to it and verify.
Lists the permission catalog, resolves or creates the target role, creates the user with that role attached, and reads the user back to confirm the role assignment took.
1
listPermissions
get_permissions
List the deployment's permission catalog so the role's action and resource names are drawn from what this Airflow actually offers rather than guessed.
2
lookupRole
get_role
Look the role up by name. A 200 means it already exists and the user can be bound straight to it; a 404 means it must be created first. Both are expected outcomes.
3
createRole
post_role
Create the role with the requested action/resource pairs before any user is attached to it.
4
createUser
post_user
Create the user with the role attached at creation time, so the account never exists in an unintended permission state.
5
readBackUser
get_user
Read the user back and require the account to be active, returning the roles Airflow actually recorded against it.