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

Require 'enrol/PLUGIN:config' capabilities to show/hide enrollment instances

XMLWordPrintable

    • MOODLE_27_STABLE
    • MOODLE_28_STABLE
    • Hide
      1. For each standard enrol plugin:
      1. Accessing as admin:
        1. Create a course A
        2. Add the current enrol plugin and configure it accordingly
      2. Accessing as teacher
        1. Go to enrolment methods page
        2. You should have access to icons
      3. Open another browser as admin and remove the "enrol/PLUGIN:config" capability from teacher role
      4. Go back to the browser you are logged as teacher
        1. Check that you can not enable/disable an enrolment instance by clicking on the icons (opening in new tab)
        2. Refresh the page and ensure the icons are not visible.
      Show
      For each standard enrol plugin: 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 have access to icons Open another browser as admin and remove the "enrol/PLUGIN:config" capability from teacher role Go back to the browser you are logged as teacher Check that you can not enable/disable an enrolment instance by clicking on the icons (opening in new tab) Refresh the page and ensure the icons are not visible.

      Was the original intention of MDL-35864 - but the issue seemed to morph into just deleting enrol instances.

      In the same way - show/hiding the instances should be controllable by capability too.

            danielneis Daniel Neis Araujo
            poltawski Dan Poltawski
            Mark Nelson Mark Nelson
            Damyon Wiese Damyon Wiese
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.