Hidden group membership lists

Bug #845287 reported by Richard Mansfield on 2011-09-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Wishlist
Richard Mansfield

Bug Description

Site & institutional admins & staff should be able to make groups with membership lists that are hidden from non-members.

See http://mahara.org/interaction/forum/topic.php?id=2229

Changed in mahara:
status: New → In Progress
importance: Undecided → Wishlist
assignee: nobody → Richard Mansfield (richard-mansfield)
milestone: none → 1.5.0

Reviewed: https://reviews.mahara.org/663
Committed: http://gitorious.org/mahara/mahara/commit/15c5fdffe72b6ca4b96130bb0a849060468645b3
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit 15c5fdffe72b6ca4b96130bb0a849060468645b3
Author: Richard Mansfield <email address hidden>
Date: Mon Sep 5 18:01:14 2011 +1200

    Add groups with hidden membership (bug #845287)

    Site & institutional admins & staff can check a 'hide membership'
    checkbox on the edit group page. Non-members cannot access the
    membership lists of these groups, and when they view the group,
    both the members block and members tab are hidden. Site admins
    and staff can still access the members page directly.

    Also filters the my friends block by changing that block to use
    group_get_user_groups rather than group_get_associated_groups.

    See http://mahara.org/interaction/forum/topic.php?id=2229

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

Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/677
Committed: http://gitorious.org/mahara/mahara/commit/9f8cf99032bd2c9c4f69553c05b129e0548ea368
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
    pages.

    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>

Changed in mahara:
status: In Progress → Fix Committed
tags: added: newfeature
Melissa Draper (melissa) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 status fixreleased
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPjrYkAAoJECXBtiziiXdcBjUH+gOs1qGQ20HFISw5maAWKxaU
yT4JUSRYzcVk8g5FgnONKIDVMKo9ZiyZD0xTWoevwRamE5IiE00ltsoxtaVecvBx
Km/hOBIiaTCfNlZ/nCULO+FUflYWhuzjb8szGQNCLTJLXzHq1Q/BRJAWPzKvUweo
zKe23pNiXtMlRkqEs+IwWnf04M3YH8O6tqcoirtLWPmLRJxtW19qT5LOGdkFojVP
ode3BhogyPMFWxS9mhn0AgE9j/GdNMXbPxKCSqLhrcDCQvC+wXNqvWC/Fp7jMe0n
5mPXBmBPLCiQAIQ7a9GNV/71GhLEB6YkZ1HZj+EkCuXvdejKe/MutEVgHIiZUus=
=Yjja
-----END PGP SIGNATURE-----

Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers