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

Unable to jump to another user in course competency breakdown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: Competencies
    • Labels:
    • Testing Instructions:
      Hide
      Setup
      1. Login as admin.
      2. Create a competency framework and add competencies.
      3. Create a user m1 and assign a manager role to it.
      4. Create a students s1 and s2 and a non-editing teacher nt1 and a teacher t1.
      5. Create a course C1 and associate competencies to it.
      6. Enrol s1, s2, nt1, and t1 in C1. Make sure that s1 and s2 are enrolled as Student, while nt1 is enrolled as a Non-editing teacher, and t1 is enrolled as a Teacher.
      As a manager
      1. Login as m1.
      2. Navigate to C1. Under Course administration, click Course competencies.
      3. Click on a competency.
      4. Check the block on the right side of the page.
        • Confirm that there is a user selector field.
      5. Try selecting another user
        • Confirm that the selected user's competency for the course is shown.
      As a teacher
      1. Repeat the above steps for t1. Confirm that the results are the same as m1's.
      As a non-editing teacher
      1. Repeat the above steps for nt1. Confirm that the results are the same as m1's.
      As student
      1. Login as s1.
      2. Navigate to C1. Under Course administration, click Course competencies.
      3. Click on a competency.
      4. Check the block on the right side of the page.
        • Confirm that there is NO user selector field.
      5. Replace the userid parameter for the URL in the browser's address bar with s2's user ID.
        • Confirm that the error Sorry, but you do not currently have permissions to do that (View a user competency) is shown.
      Show
      Setup Login as admin. Create a competency framework and add competencies. Create a user m1 and assign a manager role to it. Create a students s1 and s2 and a non-editing teacher nt1 and a teacher t1 . Create a course C1 and associate competencies to it. Enrol s1, s2, nt1, and t1 in C1. Make sure that s1 and s2 are enrolled as Student, while nt1 is enrolled as a Non-editing teacher, and t1 is enrolled as a Teacher. As a manager Login as m1. Navigate to C1. Under Course administration, click Course competencies. Click on a competency. Check the block on the right side of the page. Confirm that there is a user selector field. Try selecting another user Confirm that the selected user's competency for the course is shown. As a teacher Repeat the above steps for t1. Confirm that the results are the same as m1's. As a non-editing teacher Repeat the above steps for nt1. Confirm that the results are the same as m1's. As student Login as s1. Navigate to C1. Under Course administration, click Course competencies. Click on a competency. Check the block on the right side of the page. Confirm that there is NO user selector field. Replace the userid parameter for the URL in the browser's address bar with s2's user ID. Confirm that the error Sorry, but you do not currently have permissions to do that (View a user competency) is shown.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
        MDL-53859_master

      Description

      I created a user with Teacher non-editing capabilities.
      This user has also coursecompetencyview capability.

      When we go to course competency breakdown report, we can't jump to an other user.
      We have the same problem in course competencies page.

      If I give coursecompetencymanage capability to the user it is ok.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sergeg55 Serge Gauthier
              Reporter:
              sergeg55 Serge Gauthier
              Peer reviewer:
              Jun Pataleta
              Integrator:
              Dan Poltawski
              Tester:
              Mark Nelson
              Participants:
              Component watchers:
              Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/May/16