char101 commented on issue #10331: URL: https://github.com/apache/airflow/issues/10331#issuecomment-992196548
Check `base_permissions` in https://github.com/apache/airflow/blob/main/airflow/www/views.py#L3982, I think it should equal the values in the table `ab_permission_view`. For example to fix this message `WARNING - Refused to delete permission view, assoc with role exists DAG Runs.can_create User`, add `permissions.ACTION_CAN_CREATE` to `base_permissions` in the `class DagRunModelView`. -- 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]
