Any member of a group can delete any comment on group pages

Bug #809625 reported by Edward Murrell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Edward Murrell

Bug Description

If a user adds feedback to a group view, any other member can delete it. It should only be the admin or the comment owner who can delete it.

Tags: newfeature
Revision history for this message
François Marier (fmarier) wrote :
Changed in mahara:
importance: Undecided → Medium
milestone: none → 1.5.0
status: New → Confirmed
assignee: nobody → Edward Murrell (edward-murrell)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/444
Committed: http://gitorious.org/mahara/mahara/commit/fa63d1b8e52fb73079d3bd54eecd71535a8d4941
Submitter: Francois Marier (<email address hidden>)
Branch: master

commit fa63d1b8e52fb73079d3bd54eecd71535a8d4941
Author: Edward Murrell <email address hidden>
Date: Tue Jul 5 15:10:25 2011 +1200

    Add moderating roles to GroupType for comment delete. bug809625

    This change was added to limit deleting of comments in standard groups
    views to admins only, and admins and tutors in course groups. This commit
    adds the functions
        User::can_moderate_view()
    and
        GroupType::get_view_moderating_roles()
    to implement this functionality.

    Change-Id: Ifb8f4fc55d31fd7c5928c73c3d81710934bfdad8
    Signed-off-by: Edward Murrell <email address hidden>

Changed in mahara:
status: Confirmed → Fix Committed
tags: added: newfeature
Melissa Draper (melissa)
Changed in mahara:
status: Fix Committed → Fix Released
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.