Apply moderation settings to artefact comments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Mahara artefact comments, unlike page comments, do not have a "moderation" setting. We should probably add one. I suggest the implementation would be like this:
1. In the areas where we allow a user to set the "allow comments" setting for an artefact, we also have a "moderate comments" setting, as with artefacts.
2. Also require moderation for comments that are placed on artefacts through a page that has comment moderation turned on.
Example:
I create an image file called "unmoderate.png", and another called "moderated.png". I enable comments on both. I enable comment moderation on "moderated.png"
I then create two pages called "Unmoderated Page" and "Moderated Page". I display "unmoderated.png" and "moderated.png" on both pages, via Image blocks.
A user then visits "Unmoderated Page", and clicks the link through to the artefact detail page for "unmoderated.png". Comment moderation is obviously not required. Here is when it would be required through all four permutations:
1. Unmoderated Page -> unmoderated.png: No moderation
2. Unmodaretade Page -> moderated.png: Moderation Required (because of artefact)
3. Moderated Page -> unmoderated.png: Moderation Required (because of page)
4. Moderated Page -> moderated.png: Moderation Required (because of artefact & page)
One wrinkle to this, though, is that currently the comment moderation setting is disabled on a page, if page comments are disabled. For the above scheme to work, we'd need to uncouple them, say for a scenario where you want to have a page with a blog on it. You want the comments on the blog entries, not the page, so you set the page to "no comments". But you also want moderation automatically enabled on all blog entries, so you set the page to "moderation required".
tags: |
added: artefacts removed: blog |