dpgaspar commented on issue #14733: URL: https://github.com/apache/superset/issues/14733#issuecomment-844945396
Hi @CaptainHoangLe, Superset does not support this out of the box, and overriding behaviour this way could be challenging to maintain. Having said that. There are several different ways to achieve this. You need to create your own `UserModelView` and a custom `SupersetSecurityManager` with just the override for the user model view, for the role filter you can probably use `add_form_extra_fields`. This is a Flask-AppBuilder question so I'm going to close the issue here, feel free to reopen on: https://github.com/dpgaspar/Flask-AppBuilder -- 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]
