You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have content editors and normal admins would like to actually prevent them from impersonating - which i have done, but would suggest adding this as a config variable
The text was updated successfully, but these errors were encountered:
Hi @phpsa
This is actually a good idea.
This might be a bit tricky, as I am sure everyone has their own roles/permissions setup.
Not sure if you perhaps have an idea that might work for you/others?
What I currently do is, I only add the impersonate button when the user have the relevant role.
I have a user_role many to many table. I then do something like $user->isAdmin() || $user->isEditor() - and then add the impersonate html. However I do understand its a bit tricky...
I am not sure if you use the starter project of mine or your own setup - as if you use the starter project - we can make it for it and if u need your own implementation - can do it the 'manual' route?
Have content editors and normal admins would like to actually prevent them from impersonating - which i have done, but would suggest adding this as a config variable
The text was updated successfully, but these errors were encountered: