Description
Actually (Airflow 2.7.3) the cli command airflow roles export does only export custom roles but without specifing the related permission, so it is quite useless as a mean to backup & restore configuration between airflows.
Use case/motivation
Now that the Param structure has been recently added, it is very common for us to create a DAG with input parameters and give it to final (non IT) users with a profile limited to that DAG.
So having an import export DAG can give us an instrument to profile a role in test and transport it in production when the test is accomplished.
Related issues
No response
Are you willing to submit a PR?
Code of Conduct