[buddypress-trac] [BuddyPress Trac] #8734: Introduce simple "Private Site" toggle

buddypress-trac noreply at wordpress.org
Thu Aug 24 17:13:05 UTC 2023


#8734: Introduce simple "Private Site" toggle
------------------------------+----------------------
 Reporter:  dcavins           |       Owner:  dcavins
     Type:  feature request   |      Status:  closed
 Priority:  normal            |   Milestone:  12.0.0
Component:  Core              |     Version:  10.4.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+----------------------

Comment (by dcavins):

 In [changeset:"13556" 13556]:
 {{{
 #!CommitTicketReference repository="" revision="13556"
 Introduce bp_view_no_access_redirect_to_login_screen filter.

 Use this new filter to send the user to the site login screen
 when the user does not have the `bp_view` capability for the
 current screen or situation. The default behavior is for the
 user to be shown the content in the
 `assets/utils/restricted-access-message.php` file.

 See #8734.
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8734#comment:58>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list