[buddypress-trac] [BuddyPress Trac] #8139: Network Invitations and Membership Requests

buddypress-trac noreply at wordpress.org
Tue May 4 21:31:47 UTC 2021

#8139: Network Invitations and Membership Requests
 Reporter:  dcavins       |       Owner:  dcavins
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  8.0.0
Component:  Registration  |     Version:  5.0.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  needs-patch   |

Comment (by dcavins):

 I've just added a patch that centralizes some of the invitations screen
 access logic to make it more consistent between the
 `bp_members_invitations_setup_nav()` and
 `bp_members_admin_bar_add_invitations_menu()` implementations.

 I've also added a couple of new `user_can` capabilities to allow plugins
 to modify the access. For instance, I'm building a plugin that allows
 users to choose characteristics of who can send invites, like maybe only
 site admins can, or only members who have belonged to the site for more
 than a week. This change allows access to the "send" screen even if the
 user can't actually send, so they can be shown an error message if
 desired. The core BP behavior is not changed: users who can't send invites
 can't reach the send invites screen.

 Thanks for your feedback!

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8139#comment:75>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list