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

Sticky blocks should be integrated better with other blocks (roles etc)

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.2, 1.9
    • 1.9, 2.0
    • Blocks
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      block_pinned could be better re-implemented with a single new column in block_instance, just for increased simplicity alone.

      To implement roles in sticky blocks we need to make them have some sort of context. See MDL-9723

      About the contexts, it's a bit tricky to think about since the one "instance" appears site-wide within various other contexts, and so may inherit different permissions from the various parent contexts. Do we process all this like a normal block, effectively treating each place it appears as a sort of virtual instance?

      Or are pinned blocks an exception to heirarchy rules, with their own context under SYSTEM level?

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              dougiamas Martin Dougiamas
              Nobody Nobody
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Mar/08