-
Bug
-
Resolution: Fixed
-
Minor
-
3.6, 3.7
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
If an activity that uses comments is Frozen the comments that have been created can still be deleted by users.
For example:
- As an administrator enable the content Freezing features.
- Create an database activity (Ensure Allow comments on entries is set to Yes)
- Use the image bank preset
- Add a new entry
- Create a comment on the new entry
- Freeze the database
- 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)