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

review and fix use of capabilities for edit actions on main course page

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2
    • Fix Version/s: 2.2.1
    • Component/s: Groups
    • Labels:
    • Testing Instructions:
      Hide

      1/ bump up main version.php or execute "update_capabilities('moodle');"
      2/ create course with multiple activities
      3/ set up different overrides for 'moodle/course:manageactivities', 'moodle/course:activityvisibility', 'moodle/role:assign', 'moodle/course:update'
      4/ test if each capability is respected when course page in edit mode
      5/ repeat when courseajax disabled

      Show
      1/ bump up main version.php or execute "update_capabilities('moodle');" 2/ create course with multiple activities 3/ set up different overrides for 'moodle/course:manageactivities', 'moodle/course:activityvisibility', 'moodle/role:assign', 'moodle/course:update' 4/ test if each capability is respected when course page in edit mode 5/ repeat when courseajax disabled
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w51_MDL-30787_m23_coursemodedit

      Description

      originally reported by Michael de Raadt in MDL30697

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Jan/12