Open RostD opened 2 days 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.
Can. you take a look @joaopamaral ? It looks legit.
Apache Airflow Provider(s)
fab
Versions of Apache Airflow Providers
apache-airflow-providers-fab==1.4.0
Apache Airflow version
2.9.3
Operating System
Oracle Linux Server 8.10
Deployment
Virtualenv installation
Deployment details
No response
What happened
In DAG I use the "old" format of the access_control parameter. "DAG Import Errors" appears in the web interface when revoking stale permissions
What you think should happen instead
According to the provider's documentation, it supports the old format, I think its support should be added
How to reproduce
In DAG use the "old" format of the access_control parameter:
with DAG( ... access_control={'BASIC_ROLE': {'can_read', 'can_edit', 'can_delete'}, 'BASIC_ROLE_VIEW': {'can_read'}}, ... )
Wait until all permissions are added. Then remove
can_delete
permission, then when revoking obsolete permissions fab crashes andDAG Import Errors
message appears in web interfaceAnything else
No response
Are you willing to submit PR?
Code of Conduct