Comment 2 for bug 809625

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>