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

Require 'enrol/PLUGIN:config' capabilities to delete enrol instances

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.3.1, 2.3.2, 2.5, 2.6.3, 2.7
    • Fix Version/s: 2.8
    • Component/s: Enrolments
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide
      1. For each standard enrol plugin:
      2. Remove the "enrol/PLUGIN:config" capability from teacher role
      3. Accessing as admin:
        1. Create a course A
        2. Add the current enrol plugin and configure it accordingly
      4. Accessing as teacher
        1. Go to enrolment methods page
        2. You should not have access to delete icons
      Show
      For each standard enrol plugin: Remove the "enrol/PLUGIN:config" capability from teacher role Accessing as admin: Create a course A Add the current enrol plugin and configure it accordingly Accessing as teacher Go to enrolment methods page You should not have access to delete icons
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      This patch adds a check to require "enrol/meta:config" for user to delete meta enrol instances.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Nov/14