GitHub user carlosaran667 edited a discussion: Redirect upon logging in based 
on user role

Hi,

I recently upgraded from 4.1.1 to 6.0.0 and found that my previous 
customization no longer works.

In 4.1.1, I had modified SupersetIndexView(IndexView) in 
initialization/__init__.py so that, after logging in, users were redirected to 
a different URL depending on their role. In other words, instead of always 
sending users to /superset/welcome/, I was routing each type of user to a 
specific dashboard or page after authentication.

After upgrading to 6.0.0, that customization no longer seems to apply.

What is the recommended way to achieve this in v6? I could not find any 
documentation or examples about role-based post-login redirects.

GitHub link: https://github.com/apache/superset/discussions/38580

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


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

Reply via email to