Change WordPress user roles and capabilities › Forums › Bug Reports › The products not always visible after setting post level restrictions
- This topic has 4 replies, 2 voices, and was last updated 8 years ago by
Vladimir.
-
AuthorPosts
-
26/09/2018 at 19:23 #5155
usereditor
ParticipantWe have a few products which are only accessible to a certain user roles. I followed the steps on Post level restriction on this page https://www.role-editor.com/content-view-access-restriction-selected-roles/.
The problem is these products are not always visible on the products page. They sometimes do and sometimes do not27/09/2018 at 02:09 #5156Vladimir
KeymasterURE caches the list of products available for the restricted user. If you view what is visible just after the change of restrictions settings you may see a different results some times.
Do you receive complain from a real user or this is a result of your own tests?
Try to test restricted user view with another browser for example without changing settings and multiple re-logins under different user accounts. Will products be visible always for restricted user or not?27/09/2018 at 16:04 #5157usereditor
ParticipantProducts are not visible to the restricted user. We don’t have issues with this.
Products are not always visible to the non-restricted user. Yes we received complaints from these users.This might sound crazy but every time we make some changes to the site from the backend(unrelated to these products), these products become visible on the products page to the non-restricted user and then sometime later these products disappear again from the products page(although they are still accessible through the individual product page or the product category page). I tried different browsers and the result is same.
28/09/2018 at 02:42 #5159Vladimir
KeymasterShow an example for 1 product how did you restrict it for some user, but not for others. Screenshots would be helpful. If you can not use external links for screenshots, send them directly to support [at-sign] role-editor.com
30/09/2018 at 04:58 #5161Vladimir
KeymasterThanks for the screenshot with product view settings example.
I re-tested the same one and can not repeat the issue.
Do you use some WP content caching plugin? If Yes, try to switch off products list page from caching for these roles. It should help. -
AuthorPosts
- You must be logged in to reply to this topic.