Comment 8 for bug 504830

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit 9f8cf99032bd2c9c4f69553c05b129e0548ea368
Author: Richard Mansfield <email address hidden>
Date: Mon Sep 12 11:10:09 2011 +1200

    Hide member counts when user can't list members

    When the logged-in user can't get to the member listing for a group
    (bug #845287, bug #504830), it seems like a good idea to also hide
    the number of members.

    Member counts are hidden in the group info block and copy a view page
    by moving member & view counting into the group_get_groupinfo_data
    function, and performing the permission check in one place for both

    Member counts are hidden on My Groups and Find Groups inside the
    group_prepare_usergroups_for_display function.

    Change-Id: Ibe5675861040cedf67c2ddff7647117cd155722a
    Signed-off-by: Richard Mansfield <email address hidden>