Hi,
How do I ensure that the permissions of a user in a certain group are taken over if you impersonate another user with that user?
Example: I have the group 'Nussbaumer vertegenwoordigers' containing the user 'Vertegenwoordiger test':
For this group I have set permissions so its users do not have access to the cart. I have set up with impersonation that 'Vertegenwoordiger test' can impersonate these two users:
When I now log in as a 'Representative' test and I impersonate the user Caro De Weze, I don't want the cart to be visible for this either. If I simply log in as Caro De Weze without impersonation, this must of course remain visible.
In my opinion I can add something like this in Swift to the Swift_ImpersonationBar.cshtml template. Can someone get me started?
Kind regards,
Caro De Weze