Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch back to host/admin #57

Open
Tychodewaard opened this issue Jun 24, 2020 · 2 comments
Open

Switch back to host/admin #57

Tychodewaard opened this issue Jun 24, 2020 · 2 comments

Comments

@Tychodewaard
Copy link

In other systems there are 2 parts to the identity switcher:

  1. "you're logged in as [displayname]
  2. back to admin (which releaves you from the identityswitch mode and reverts you back to admin or whatever your role was)
@EPTamminga
Copy link
Contributor

Can you explain a bit more what the idea is?
The module enables you to switch to any user, with a special setting to allow or not allow to switch to a HOST account.

@ohine
Copy link

ohine commented Sep 18, 2021

It sounds like how my original control panel's impersonation mode functioned, which is a revert function which returns you back to the original user who triggered the impersonation.

To accomplish this, write out a cookie that's encrypted on impersonation, and then look for that cookie to enable the revert mode back to the original userid. That's basically how mine worked a decade ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants