Hi there,
I am developing a new site in my organization using WAB 2.0. When the website is reached for any user, a modal dialog shows up asking for user and password:

After the user types his/her credentials, the idea is to validate, then close (hide) the login dialog and then if the user has admin privileges, a new widget will be shown in the app.

But if the user has not admin privileges, then no widget will be shown.

Anybody knows if this approach is doable?
thanks,
Rafael