GitHub user zachliu added a comment to the discussion: Migration help: 
CustomSecurityManager → New Authorization Standard Definitions

@zach-overflow :wave: hello the other zach! you are the author of the 
documentation, maybe you can help me out here? :pray: :pray: :pray: 

i have something like this

```python
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?

GitHub link: 
https://github.com/apache/airflow/discussions/57429#discussioncomment-15039228

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to