thesuperzapper commented on issue #10216:
URL: https://github.com/apache/superset/issues/10216#issuecomment-927378315
@usamaB the `AUTH_ROLES_MAPPING` feature is a dictionary from `string` -->
`list`, so it supports multiple roles:
```python
# a mapping from LDAP DN to a list of FAB roles
AUTH_ROLES_MAPPING = {
"cn=fab_users,ou=groups,dc=example,dc=com": ["User", "User_role2"],
"cn=fab_admins,ou=groups,dc=example,dc=com": ["Admin"],
}
```
(Similarly for OAUTH)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]