Closed aporwal17 closed 2 months ago
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
Hi @aporwal17, the fix for this issue in FAB versions < 1.3.0 is already merged and will be available in version 2.10.1 https://github.com/apache/airflow/pull/41549.
And FAB version 1.3.0 is already released (this version doesn't need the fix).
@joaopamaral : Thanks for the update.
closing as fixed
Apache Airflow Provider(s)
fab
Versions of Apache Airflow Providers
it is returning invalid_action_names all the time because of unexpected json.
{'DAGs': {'can_edit', 'can_read', 'can_delete'}}
it should have only{'can_edit', 'can_read', 'can_delete'}
What you think should happen instead
This code is having issue.
How to reproduce
default_args = { 'owner': 'airflow', 'start_date': datetime(2024, 8, 1), }
dag = DAG( 'example_dag_1', default_args=default_args, schedule_interval='@daily',
access_control={ 'readonly': {'can_read', 'can_edit', 'can_delete'} }, )
t1 = DummyOperator( task_id='dummy_task', dag=dag )