Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-8722 Moodle 3.0.x PHP5/PHP7 QA
  3. MDLQA-8729

CLONE - A teacher can block students from posting in a forum after they post a certain number of posts in a given period

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Minor
    • Affects Version/s: Moodle 3.0
    • Fix Version/s: Moodle 3.0
    • Component/s: Forum, Student, Teacher
    • Labels:
      None

      Description

      1. Login as a teacher and create a forum with a time period for blocking set.
      2. Set a post threshold for blocking and for warning.
      3. Ensure the student role does not have capability "mod/forum:postwithoutthrottling" within the forum.
      4. Login as a student and check that a warning is show on the forum post screen after reaching the number of posts specified in the forum setting 'Post threshold for warning'.
      5. Keep posting until the number of posts reaches the forum setting 'Post threshold for blocking'.
      6. On your last post you will have been given a time frame that you are allowed to edit this post, ensure you still can edit it and are not thrown an error about reaching the threshold.
      7. Click to post another reply and ensure you are thrown the error "You have exceeded the posting threshold set for this forum".
      8. Change the the "mod/forum:postwithoutthrottling" capability for the student role to Allow.
      9. Check that the student can now post an unlimited number of times.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: