Closed ephraimbuddy closed 1 year ago
Any idea how the admin role got can_dismiss
though? Having trouble tracing that back.
Oh, admin gets all permissions aged by FAB at start up
Any idea how the admin role got
can_dismiss
though? Having trouble tracing that back.
From FAB, there's a PERMISSIONPREFIX='can' and then the method name of the endpoint 'dismiss'
I think we only allowed admins to dismiss the notice. Is that still kept?
Nope. Have changed it to (permissions.ACTION_CAN_READ, permissions.RESOURCE_ROLE)
. Only Admins have that permission in Airflow
Tested this manually as I was unable to do unittest on it