掲示板

Query String Parameters

7年前 に Arthur Terra によって更新されました。

Query String Parameters

New Member 投稿: 1 参加年月日: 16/09/01 最新の投稿
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
7年前 に Olaf Kock によって更新されました。

RE: Query String Parameters

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
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.