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

You should not be able to edit the session and request cache sharing.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5
    • 2.5
    • Caching
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • wip-MDL-39554-m25
    • Hide
      1. Run unit tests.
      2. Log in as an admin.
      3. Browse to Settings > Plugins > Caching > Configuration.
      4. Check that you cannot edit sharing for any request/session caches (in the definitions table).
      5. Check that you all request/session caches have site identifier set as there sharing option (in the definitions table).
      Show
      Run unit tests. Log in as an admin. Browse to Settings > Plugins > Caching > Configuration. Check that you cannot edit sharing for any request/session caches (in the definitions table). Check that you all request/session caches have site identifier set as there sharing option (in the definitions table).

    Description

      There's no point in allowing it really.

      Two changes to be made:

      1. Force the available sharing options for request and session caches to just siteid.
      2. Remove the edit sharing link if there is only one option available.

      Attachments

        Activity

          People

            samhemelryk Sam Hemelryk
            samhemelryk Sam Hemelryk
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              14/May/13