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

subscribe_user_to_discussion should check for guests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8
    • 2.8
    • Forum
    • MOODLE_28_STABLE
    • MOODLE_28_STABLE
    • MDL-48029-master
    • Hide
      1. Create a course and enrol a user in it
      2. Enable guest access to the course
      3. Create a forum in that course.
      4. Create a new discussion in the forum
      5. Login as the user
      6. Attempt to subscribe to the discussion using the JS links in the thread index
      7. Unsubscribe again
      8. Login as another user not enrolled in the course
      9. View the forum
        • Confirm that the subscribe/unsubscribe link is no longer present
      10. View the discussion
        • Confirm that the subscribe/unsubscribe link is no longer present
      11. Open mod/forum/discuss.php and comment out the is_guest() check before forum_get_discussion_subscription_icon
      12. View the discussion again
      13. Click on the discussion subscribe link
        • Confirm the exception was thrown
      Show
      Create a course and enrol a user in it Enable guest access to the course Create a forum in that course. Create a new discussion in the forum Login as the user Attempt to subscribe to the discussion using the JS links in the thread index Unsubscribe again Login as another user not enrolled in the course View the forum Confirm that the subscribe/unsubscribe link is no longer present View the discussion Confirm that the subscribe/unsubscribe link is no longer present Open mod/forum/discuss.php and comment out the is_guest() check before forum_get_discussion_subscription_icon View the discussion again Click on the discussion subscribe link Confirm the exception was thrown

      subscribe_user_to_discussion should check for guests
      Petr raised n MDL-48020

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Frédéric Massart Frédéric Massart
            Marina Glancy Marina Glancy
            Jetha Chan Jetha Chan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.