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

Comments can be deleted in frozen contexts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6, 3.7
    • Fix Version/s: None
    • Component/s: Comments
    • Labels:

      Description

      If an activity that uses comments is Frozen the comments that have been created can still be deleted by users.

      For example:

      1. As an administrator enable the content Freezing features.
      2. Create an database activity (Ensure Allow comments on entries is set to Yes)
      3. Use the image bank preset
      4. Add a new entry
      5. Create a comment on the new entry
      6. Freeze the database
      7. View the entry and expand the comments

      Actual result

      The comments appear with a delete button, that functions to delete the comment.

      Expected result

      The comments appear and have no delete button present.

      This also affects assignments (and presumably all plugins that use comments)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nmagill Neill Magill
                Reporter:
                nmagill Neill Magill
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: