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.
Reviewed: https:/ /reviews. mahara. org/663 gitorious. org/mahara/ mahara/ commit/ 15c5fdffe72b6ca 4b96130bb0a8490 60468645b3
Committed: http://
Submitter: Richard Mansfield (<email address hidden>)
Branch: master
commit 15c5fdffe72b6ca 4b96130bb0a8490 60468645b3
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 get_user_ groups rather than group_get_ associated_ groups.
group_
See http:// mahara. org/interaction /forum/ topic.php? id=2229
Change-Id: Iaa907484c5d395 cdf3869565fcf1c 47c2faec733
Signed-off-by: Richard Mansfield <email address hidden>