Impersonation combo disappears after impersonating

Hi,

I’m admin, I added Substituted Users to my profile.
If the substituted user has roles, the Impersonation combo disappear, and I can’t go back to admin.
if the substituted user doesn’t have any role, I am able to go back to admin.
What am I missing?
Thanks

Hi,

Thank you for reporting this.

For now, if your user has denying role you should explicitly specify a read permission for the UserSubstitution entity.

We are planning to change this, see UserIndicator does not show substituted users list if we switch to restricted user · Issue #1598 · cuba-platform/cuba · GitHub