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

Knowing forum discussion ID allows users to view expired discussions.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.5, 2.3
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Visit <yoursite>/admin/settings.php?section=modsettingforum and and check 'Timed posts'.
      2. Create a forum post in a course and set it to expire yesterday.
      3. Create another forum post that is not starting until tomorrow.
      4. Create another forum post that sets no dates.
      5. Copy the URLs of each of these.
      6. Log in as student and visit the URLs.
      7. A message should display saying it is not available for the first two, and the third should be available.
      Show
      Visit <yoursite>/admin/settings.php?section=modsettingforum and and check 'Timed posts'. Create a forum post in a course and set it to expire yesterday. Create another forum post that is not starting until tomorrow. Create another forum post that sets no dates. Copy the URLs of each of these. Log in as student and visit the URLs. A message should display saying it is not available for the first two, and the third should be available.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull Master Branch:
      MDL-36272_master

      Description

      If a discussion has expired a student can still view it if they know the direct link

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              markn Mark Nelson
              Peer reviewer:
              Adrian Greeve
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: