Apply moderation settings to artefact comments

Bug #1567138 reported by Aaron Wells
6
This bug affects 1 person
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".

Aaron Wells (u-aaronw)
tags: added: artefacts
removed: blog
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.