Developer forum

Currently discussing: Plans to implement a Consent module for GDPR compliance.

Join the discussion!

Forum » Development » Keep permissions after impersonate

Keep permissions after impersonate

Anders Ebdrup
Anders Ebdrup



Do anyone have an idea of how to keep the primary user's rights after start impersonating? We are using full impersonation to be able to use cart, favorites, orders and so on.

I need to have access to the same pages and paragraphs as the primary user so I guess that I have to use an observer to overwrite permissions for the impersonated user, but which and what to overwrite?

Any help will be much appreciated.

Thanks, Anders



You must be logged in to post in the forum