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

Duplicated capability name in lib/enrollib.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9, 2.9.1, 2.9.2
    • 2.9.4, 3.0.1
    • Enrolments
    • MOODLE_29_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MDL-52021-master-test
    • Hide
      1. Login as an admin.
      2. Create a course.
      3. Go to the course.
      4. Under Course administration, expand Users, then check the Permissions node.
        • Confirm that the Permissions node can be expanded.
        • Confirm that the Check permissions link is visible under the Permissions node
      5. Enrol a non-editing teacher to the course
      6. Login as the non-editing teacher.
      7. Go to the course.
      8. Under Course administration, expand Users
        • Confirm that the Permissions node does not have children and cannot be expanded, and that the Check permissions link is not visible.
      Show
      Login as an admin. Create a course. Go to the course. Under Course administration, expand Users, then check the Permissions node. Confirm that the Permissions node can be expanded. Confirm that the Check permissions link is visible under the Permissions node Enrol a non-editing teacher to the course Login as the non-editing teacher. Go to the course. Under Course administration, expand Users Confirm that the Permissions node does not have children and cannot be expanded, and that the Check permissions link is not visible.

    Description

      'moodle/role:assign' has replicated in the below file

      FILE: lib/enrollib.php
      LINE: 455

      Attachments

        Activity

          People

            Unassigned Unassigned
            syamvilakudy Syam Mohan
            Jun Pataleta Jun Pataleta
            Dan Poltawski Dan Poltawski
            Ryan Wyllie Ryan Wyllie
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              21/Dec/15