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

Access errors should return to the current course page rather than the home page

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4, 2.5
    • Fix Version/s: 2.4.2
    • Component/s: Groups, Roles / Access
    • Labels:
    • Testing Instructions:
      Hide

      1/ create course with some activity and enrol some user
      2/ open second browser and login as that user and go to course
      3/ now hide the activity, copy the activity url
      4/ paste the activity url into the student browser and verify redirect
      5/ repeat with activity on the frontpage

      Show
      1/ create course with some activity and enrol some user 2/ open second browser and login as that user and go to course 3/ now hide the activity, copy the activity url 4/ paste the activity url into the student browser and verify redirect 5/ repeat with activity on the frontpage
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w02_MDL-37483_m25_redirect

      Description

      If a user includes an internal link (e.g. 'click here to go to the next activity) that fails because the user does not have access (e.g. due to group members only or activity hiding) they can an error and get bounced to the front page.

      It would be more elegant if the redirect to the current course page - less frightening for the users.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Mar/13