掲示板
Query String Parameters
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.
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.