Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-64776

Handle impersonation on the server side rather than in GET requests

    Details

    • Type: Feature Request
    • Status: Needs More Information
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.1.X EE, 6.2.X EE, 7.0.0 DXP SP1
    • Fix Version/s: None
    • Component/s: ~[Archived] WCM
    • Labels:
      None

      Description

      One of our customers has some web contents having relative href tags (referring to other pages in the site).

      For example:
      <a id="yui_patched_v3_11_0_1_1458743236150_556" href="/web/b/pageb1">Link to page b1</a>

      Their goal is to keep the impersonation when clicking on the link.

      Currently, the doAsUserId parameter is being used to indicate impersonation, and it only works on links which are generated by the portal at page rendering. As soon as the doAsUserId parameter is missing, the impersonation is broken.
      Scanning all web contents for possible links, and appending doAsUserId to each link has a significant performance impact, thus it would be nice for the customer to handle impersonation on the server side rather than on the client side.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zalan.szakolci Zalán Szakolci
              Reporter:
              zalan.szakolci Zalán Szakolci
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package