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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Caching
    • Labels:
    • Testing Instructions:
      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).
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      wip-MDL-39554-m25

      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

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              samhemelryk Sam Hemelryk
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Matteo Scaramuccia, Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13