Replies: 1 comment 1 reply
-
|
@zach-overflow 👋 hello the other zach! you are the author of the documentation, maybe you can help me out here? 🙏 🙏 🙏 i have something like this class CustomSecurityManager(FabAirflowSecurityManagerOverride):
"""
Custom Security Manager to:
1. Map Auth0 roles to Airflow roles.
2. Auto-manage Airflow user permissions.
"""
# Apply the RESTRICTED_OP permissions to all Auth0 non-admin users
RESTRICTED_OP_PERMISSIONS = [
(permissions.ACTION_CAN_READ, permissions.RESOURCE_DAG_CODE),
(permissions.ACTION_CAN_READ, permissions.RESOURCE_DAG_RUN),
...what should i use to replace these with? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all — has anyone who’s implemented a custom
CustomSecurityManagersuccessfully migrated to the new authorization standard definitions. I’d appreciate any guidance or examples—especially regarding the rather general instruction to “refer to theSimpleAuthManagersource code as an example for how you might use theResourceMethodandresource_detailscomponents.” 🙏🙏🙏Beta Was this translation helpful? Give feedback.
All reactions