naikus commented on issue #10216:
URL: 
https://github.com/apache/incubator-superset/issues/10216#issuecomment-673333828


   @som2014 There is another configuration option (in your superset_config.py) 
that can be used according to flask appbuilder documentation. But its not 
working for me :-(
   ```python
   # e.g
   AUTH_USER_REGISTRATION_ROLE_JMESPATH="ends_with(email, '@yourcompany.com') 
&& 'Admin' || 'Gamma'"
   ```
   This should ideally grant all users from yourcompany.com admin roles


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to