Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #7176, comment 10


Ignore:
Timestamp:
08/30/2016 01:27:20 PM (3 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7176, comment 10

    initial v1  
    1818
    1919* Make every user a "Subscriber" to every site
    20 * Re-init caps for the root-site on every `switch_to_blog()` to check our own capability mapping to `read` on root
     20* Re-init caps for the root-site on every `switch_to_blog()` to check our own capability mapping to `read` on root. We can do this with a few `bp_current_user_can()` checks here-or-there (like we do now), but switching back and forth hundreds of times per page-load should be avoided for things like reads.
    2121
    2222> For this reason, I think we should keep the concept of Roles, even if we decide not to use the full-fledged, stored-in-the-database version that WP has