del-perms

Definition

Deletes permissions for a role.

Usage

$ airflow roles del-perms [-h] [-a [ACTION ...]] -r [RESOURCE ...] [-v]
                        [role ...]

Arguments

Parameter Description

role

The name of a role

-a, --action

The action of permissions

-r, --resource

The resource of permissions

-h, --help

Print out the help manual for this command

-v, --verbose

Make logging output more verbose

Examples

To revoke the ability to edit connections from the test role, run:

$ airflow roles del-perms can_edit connections test_role
Found a mistake? Seleсt text and press Ctrl+Enter to report it