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

Duplicated capability name in lib/enrollib.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9, 2.9.1, 2.9.2
    • Fix Version/s: 2.9.4, 3.0.1
    • Component/s: Enrolments
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-52021-master-test

      Description

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

      FILE: lib/enrollib.php
      LINE: 455

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            syamvilakudy Syam Mohan
            Peer reviewer:
            Jun Pataleta
            Integrator:
            Dan Poltawski
            Tester:
            Ryan Wyllie
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              21/Dec/15