[buddypress-trac] [BuddyPress Trac] #6383: Add access control for Member Type directories based on WP role and BP Member Type

buddypress-trac noreply at wordpress.org
Mon Apr 20 13:33:00 UTC 2015


#6383: Add access control for Member Type directories based on WP role and BP
Member Type
---------------------------------+-----------------------------
 Reporter:  Bowromir             |      Owner:
     Type:  enhancement          |     Status:  new
 Priority:  normal               |  Milestone:  Awaiting Review
Component:  Component - Members  |    Version:
 Severity:  normal               |   Keywords:
---------------------------------+-----------------------------
 As discussed in #6286 it would be useful to add access control to Member
 Type directories so you can restrict viewing of a directory based on
 member type or user role.

 has_directory = true,
 access_user_role = "admin,editor",
 access_bp_member_type = "student, teacher"

 Restricting access by user role: This feature would be useful if you want
 to utilise the awesomeness of the Member Directory for quick
 searching/editing members from the front end without making that directory
 public.

 Restricting access by member type: "Only teachers can view the Students
 directory". Some communities might not have a public member directory but
 still need a front end searching/listing for a certain member type.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6383>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list