Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28631

forbid use of cookies especially from javascript

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: General, SCORM, Themes
    • Labels:
    • Story Points:
      40

      Description

      Our developers and theme designers keep smuggling in cookies, this is not compatible with $CFG->cookiehttponly and is against some privacy laws.

      Simply stop relying on cookies and if necessary use user preferences.

      Offenders:

      • admin roles UI
      • lib/cookies.js
      • scorm data model
      • repository
      • anomaly theme

      Solution:
      1/ educate integrators and developers - see MDL-17084 for ajax user preferences
      2/ fix the code
      3/ fix dev docs

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                moodle.com moodle.com
                Reporter:
                skodak Petr Skoda
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie, Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                1 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: