Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #12212, comment 29


Ignore:
Timestamp:
07/22/2021 04:50:22 PM (5 years ago)
Author:
todditron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12212, comment 29

    initial v1  
    33The problem isn't that we don't have a workaround, the problem is that there is no way to anticipate that we need the workaround
    44
    5 In my case, I was developing a custom members site with access-protected course pages, and ended up showing ALL courses to the members without any authorization rather than ZERO courses
     5In my case, I was developing a custom members site with access-protected course pages, and ended up showing ALL courses to the members without any authorization rather than ZERO courses.
     6
     7Logic being
     8Member A - can see **posts_in => [1,2]** - show at most 2 posts
     9Member B - can see **posts_in => [1]** - show at most 1 posts
     10Member C - can see **posts_in => []** - show at most 0 posts
     11
     12There really wasn't anyway to predict that member C would then see ALL posts