Replies: 7 comments 31 replies
-
I think this is something on your side - some script that is run periodically. The infoirmation you provided is not nearly detailed enough to act on it. But you if you look at your logs and deployment and try to find the places/logs where you will see some deletions happening, maybe someone will be able to help to solve your issue. Thanks in advance for more details, for now I converted it into discussion until more details are provided - enough for someone to be able to help you. |
Beta Was this translation helpful? Give feedback.
-
When I disable |
Beta Was this translation helpful? Give feedback.
-
I created an issue as part of the AIP-56 project to track this effort: #32348 |
Beta Was this translation helpful? Give feedback.
-
Hello!
As a workaround you can revoke delete on table |
Beta Was this translation helpful? Give feedback.
-
do we know which change broke this? |
Beta Was this translation helpful? Give feedback.
-
We are experiencing this issue as well. i don't understand the problem PR #30340 was intended to solve well enough to comment on the stalled fix PR #32999 (which apparently reintroduced the original sync issue). Our (not fluent in Airflow code) understanding of the issue:
Presumably We're in a kubernetes environment. DAGs are defined in the container image, and an automated run process makes Airflow API calls to create roles, each with permissions on a logical subset of our DAGs. If there's another way to set up our roles that mitigates this issue, we'd be happy to update our roles setup, but it doesn't seem like we're doing anything particularly extreme. |
Beta Was this translation helpful? Give feedback.
-
any news on this topic. It´s really hard to add this permission daily over and over. |
Beta Was this translation helpful? Give feedback.
-
Apache Airflow version
2.6.2
What happened
After upgrading to version 2.6.2 from 2.4.3, all the DAG-level permissions (
ab_permission_view_role
) are periodically being deleted.What you think should happen instead
The DAG-level permissions should not be deleted once defined as it was in pre-3.6 versions.
How to reproduce
Define a role with DAG-level permission. The permission will be removed from the role after short period of time.
Operating System
Debian GNU/Linux 11 (bullseye)
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
Helm Chart 1.9.0
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions