Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Prohibit hides all posts, disregards IDs › Reply To: Prohibit hides all posts, disregards IDs
Hi Vladimir,
This issue seems to be cropping up again. I have a user in the URE user role ECD Curator, and she can’t see any posts when I Prohibit taxonomy terms on Division Access taxonomy (96, 97, 98, 101, 102, 103, 105, 137, 1640) excepting ECD (100). This Prohibition occurs at the role level. User level is set to look at roles.
Here are the number of All Posts in each taxonomy term for Division Access tax:
3217 Posts Total
3067 Posts in 98
1 Post in 97
83 Posts in 100
0 Posts in 102
48 Posts in 103
3 Posts in 105
5 Posts in 1640
0 Posts in 137
0 Posts in 101
4 Posts in 96
When I prohibit only tax term ID 98, her post count shows All (150), but no posts are showing. When she clicks Published (140), then she can see 140 post items. What it says appears accurate, what it shows doesn’t.
When I prohibit both 98, 137, the Posts screen says
All(147) Mine(12) Published(140) Trash(2) Draft(10)
However, actual post items shown varies. In this case, it is: All shows no posts, Mine shows no posts, Published shows 140 items, Trash 2, and Draft 10. What All says appears inaccurate, 3217 – 3067 – 0 = 150 posts, not 147.
In other cases, All shows only 10 items, no matter what it says there should be.
When I prohibit both 98, 105 the Posts screen says
All(147) Mine(12) Published(137) Trash(2) Draft(10)
All shows 10 items, Mine shows none, Published shows 140 items, Trash 2, and Draft 10. The number 147 appears to be accurate.
When I prohibit both 98, 1640 the Posts screen says All(146) but only shows 10 of 10 items. The number 146 appears to be inaccurate, 3217 – 3067 – 5 = 145 posts, not 146.
When I prohibit both 98, 96 the Posts screen says All(146) but only shows 8 of 8 items. The number 146 appears to be accurate.
When I prohibit both 98, 102 the Posts screen says All(150) but only shows 10 of 10 items. The number 150 appears to be accurate.
In yet a third case, no posts show at all, and the options to select Published, Draft, or Trash are gone.
Prohibit 98, 101, and Posts screen shows All(0), showing no items. There should be 150 posts showing.
Prohibit 98, 103, and Posts screen shows All(0), showing no items. There should be 102 posts showing.
When I disable all plugins except URE, everything is the same as above except:
When prohibit 98, All shows 150 items (and says All(150)).
When prohibit 98, 102, All shows 150 items (and says All(150)).
When prohibit 98, 137, All says 150 (but shows no posts).
When prohibit 98, 105, All shows no items (but still says All(147)).
When prohibit 98, 1640, All shows no items (but still says All(146)).
When prohibit 98, 96, All shows no items (but still says All(146)).
It seems to follow no pattern.
Please advise.
Thanks,
Sarah