Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2988

Forum: Add the ability to lock discussions manually

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.6.1
    • Fix Version/s: 3.7.0
    • Component/s: Forum add-on
    • Labels:
    • Testing Instructions:
      Hide

      Test on any device.

      1. Log in a 3.7 site as a teacher.
      2. Go to a forum and add a new discussion.
      3. Go to the created discussion and open the context menu.
      4. Check that the menu contains an item called "Lock this discussion" with a closed lock icon.
      5. Click the "Lock this discussion" item.
      6. Check this message is displayed on top of the discussion: "This discussion has been locked so you can no longer reply to it."
      7. Check that you can reply to the discussion (this is inconsistent with the message but it's the same in web).
      8. Check that the menu item is replaced with one called "Unlock this discussion" and the icon is now an open lock.
      9. Log in the same site as a student and go to the forum discussion.
      10. Check this message is displayed on top of the discussion: "This discussion has been locked so you can no longer reply to it."
      11. Check that you cannot reply to the discussion.
      12. Log in the site again as a teacher and go to the forum discussion.
      13. Click "Unlock this discussion" in the context menu.
      14. Check that the message on top of the discussion is no longer displayed.
      15. Log in the same site as a student and go to the forum discussion.
      16. Check that you can now reply to the discussion.
      17. Log in a 3.6 site as a teacher.
      18. Go to a forum discussion.
      19. Check the context menu has no item to lock or unlock the discussion.

       

      Show
      Test on any device. Log in a 3.7 site as a teacher. Go to a forum and add a new discussion. Go to the created discussion and open the context menu. Check that the menu contains an item called "Lock this discussion" with a closed lock icon. Click the "Lock this discussion" item. Check this message is displayed on top of the discussion: "This discussion has been locked so you can no longer reply to it." Check that you can reply to the discussion (this is inconsistent with the message but it's the same in web). Check that the menu item is replaced with one called "Unlock this discussion" and the icon is now an open lock. Log in the same site as a student and go to the forum discussion. Check this message is displayed on top of the discussion: "This discussion has been locked so you can no longer reply to it." Check that you cannot reply to the discussion. Log in the site again as a teacher and go to the forum discussion. Click "Unlock this discussion" in the context menu. Check that the message on top of the discussion is no longer displayed. Log in the same site as a student and go to the forum discussion. Check that you can now reply to the discussion. Log in a 3.6 site as a teacher. Go to a forum discussion. Check the context menu has no item to lock or unlock the discussion.  
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Sprint:
      Moodle App 3.7.0

      Description

      Implement MDL-65032 in the app.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                albert.gasset Albert Gasset
                Reporter:
                albert.gasset Albert Gasset
                Peer reviewer:
                Dani Palou
                Integrator:
                Juan Leyva
                Tester:
                Dani Palou
                Participants:
                Component watchers:
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  7/Jun/19