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

Create global JS Utility to set cookies based on user preferences

Details

    Description

      Goal of this story is to create a global JS API to create cookies, and make it available to all pages served by the platform.

      The API implementation must obey user's consent before allowing JS client code to set and read a cookie, considering that:

      • Cookie control feature can be turned off. In that case API will allow to create any type of cookie
      • Explicit consent mode can be turned on/off, meaning that, before user expresses the consent, API would allow/deny cookie creation based off on this flag
      • User consent is reflected in four cookies, one per type of cookie

      API should be made available to the page in a way that it can be used from different JS contexts (react apps, fragments, AUI modules)

      More details in the solution proposal section

      Attachments

        Activity

          People

            support-qa Support QA
            pablo.agulla Pablo Agulla
            Carolina Alonso Carolina Alonso
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                7.4.13 DXP U34