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

Users can no longer map front page feedbacks to courses

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a feedback on front page
      2. Edit manager role and remove permission "View courses without participation"
      3. Assign manager role to a user
      4. login as this user, go to the feedback, open "Mapped courses"
      5. start typing something, make sure you can search for courses AND you can search for the name of the site (map to the front page course)
      Show
      Create a feedback on front page Edit manager role and remove permission "View courses without participation" Assign manager role to a user login as this user, go to the feedback, open "Mapped courses" start typing something, make sure you can search for courses AND you can search for the name of the site (map to the front page course)
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Pull Master Branch:
      wip-MDL-55939-master

      Description

      We use front page feedbacks for course evaluations, mapped to individual courses.

      Recently, when users attempt to map a feedback, they're getting the error "Sorry, but you do not currently have permissions to do that (View courses without participation)".

      The error occurs as soon as the user begins to enter text in the search box on the mapcourse.php page.

      The users are assigned to the 'teacher' role in the feedback activity context, with permission to edit and map the feedbacks. They also are able to view or search for course titles on the Site Home page, and they can see which courses a feedback is currently mapped to.

      Users should not need the "View courses without participation" capability in order to map a front page feedback to a course.

      This behavior is a regression from prior versions.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                6 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/May/17