arjav1528 commented on PR #61083: URL: https://github.com/apache/airflow/pull/61083#issuecomment-3801073835
> Do you what changed in 3.1.6 to have this access denied? I'd be curious to know what exactly broke and if this is the right fix The root cause is a pre-existing architectural issue that became more visible, likely due to the removal of init_role or changes in FAB 5.x migration. The issue: Permissions for RESOURCE_USER are only created when a user view is registered via register_views(). Since only the active auth type's view gets registered (see override.py:452-463), permissions may not exist in the database if The auth type was changed after initial setup Permissions weren't properly synced A fresh database was used with a different auth type than before -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
