Foros de discusión

Query String Parameters

Arthur Terra, modificado hace 7 años.

Query String Parameters

New Member Mensaje: 1 Fecha de incorporación: 1/09/16 Mensajes recientes
When I'm logged with a user and click at link in nav-menu liferay pass this paramenter _pacote_cookie_portlet_WAR_pacote_cookie_portlet_code:lPrinter but when I use the impersonate, liferay override this to _pacote_cookie_portlet_WAR_pacote_cookie_portlet_doAsUserId:HpgPRfi6dfU= I would like to maintaing the first one and continue with the impersonate.
thumbnail
Olaf Kock, modificado hace 7 años.

RE: Query String Parameters

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
Arthur Terra:
When I'm logged with a user and click at link in nav-menu liferay pass this paramenter _pacote_cookie_portlet_WAR_pacote_cookie_portlet_code:lPrinter but when I use the impersonate, liferay override this to _pacote_cookie_portlet_WAR_pacote_cookie_portlet_doAsUserId:HpgPRfi6dfU= I would like to maintaing the first one and continue with the impersonate.


As the impersonation is over once the doAsUserId parameter is gone: No luck. You're logged in as yourself, you're only impersonating the other user (if you have the administrative power). But the system is always fully aware that it's you, mimicking another user.

If the business requirement starts with "I would like to...", I wouldn't even consider customizing this. This is how it's implemented.