airflow.providers.fab.auth_manager.cli_commands.role_command

Roles sub-commands.

Module Contents

Functions

roles_list(args)

List all existing roles.

roles_create(args)

Create new empty role in DB.

roles_delete(args)

Delete role in DB.

roles_add_perms(args)

Add permissions to role in DB.

roles_del_perms(args)

Delete permissions from role in DB.

roles_export(args)

Export all the roles from the database to a file including permissions.

roles_import(args)

Import all the roles into the db from the given json file including their permissions.

airflow.providers.fab.auth_manager.cli_commands.role_command.roles_list(args)[source]

List all existing roles.

airflow.providers.fab.auth_manager.cli_commands.role_command.roles_create(args)[source]

Create new empty role in DB.

airflow.providers.fab.auth_manager.cli_commands.role_command.roles_delete(args)[source]

Delete role in DB.

airflow.providers.fab.auth_manager.cli_commands.role_command.roles_add_perms(args)[source]

Add permissions to role in DB.

airflow.providers.fab.auth_manager.cli_commands.role_command.roles_del_perms(args)[source]

Delete permissions from role in DB.

airflow.providers.fab.auth_manager.cli_commands.role_command.roles_export(args)[source]

Export all the roles from the database to a file including permissions.

airflow.providers.fab.auth_manager.cli_commands.role_command.roles_import(args)[source]

Import all the roles into the db from the given json file including their permissions.

Note, if a role already exists in the db, it is not overwritten, even when the permissions change.

Was this entry helpful?