Moodle
  1. Moodle
  2. MDL-14448

Lesson should have a capability mod/lesson:view

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9
    • Fix Version/s: 2.0.10
    • Component/s: Lesson
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Lesson currently has only two capabilities: edit and manage. For consistency with other activities, it should also have mod/lesson:view. Without a view capability, Lessons cannot be hidden from guests in courses that permit guest access (see http://moodle.org/mod/forum/discuss.php?d=95325)

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Martin Dougiamas added a comment -

            Reassigning this to moodle.com for the time being, since Mark Nielsen is not maintaining Lesson any more. Please comment/vote/patch any crucial bugs that affect you for 2.0 to help us prioritise fixes for the upcoming release.

            Show
            Martin Dougiamas added a comment - Reassigning this to moodle.com for the time being, since Mark Nielsen is not maintaining Lesson any more. Please comment/vote/patch any crucial bugs that affect you for 2.0 to help us prioritise fixes for the upcoming release.
            Hide
            Stephen Bourget added a comment -

            It looks like lesson did at one point have a view capability. It was introduced in 1.7 and then later removed. See:
            https://github.com/moodle/moodle/commit/94bcea7983a10d0f82a285fe9d7bd08cce61ea47#diff-6747af87735baf11c9bd173b4a1e1b5e

            Show
            Stephen Bourget added a comment - It looks like lesson did at one point have a view capability. It was introduced in 1.7 and then later removed. See: https://github.com/moodle/moodle/commit/94bcea7983a10d0f82a285fe9d7bd08cce61ea47#diff-6747af87735baf11c9bd173b4a1e1b5e

              People

              • Votes:
                6 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: