I have a “Categories” view page that is showing all files in the category, which is great, but when I log out and go to that page I still see all files (with a link to login to download)
I would rather not show any file that the current user does not have permission to view, so if my files are:
– File1.xls (visible to Admin, Subscriber)
– File2.pdf (visible to guest)
– File3.pdf (visible to Admin, Subscriber, Guest)
and I am not logged in, I would see files 2 and 3
if I am logged in as subscriber I would see 1 and 3
please share your page URL, if possible, please, give your temporary wp-admin login details in a private reply for checking the issue,
Thanks.
I can’t able to login with your credentials, please check
thanks
Hi,
Category access for roles and packages follow these steps as I describe below,
before giving access to a certain category for a particular role you have to set like as I image attached, you should use Use Link Template option and your particular role,
then you have to make empty forAllow Access
option or giving a particular role on it like as I image attached,
because Package Access = Package Access + All Category Access = All Visitors + Subscribers = All Visitors
and Package Access = Package Access empty + Category Access(Subscribers) = Subscribers
or Package Access = Package Access(subscriber) + Category Access(Subscribers) = Subscribers
Hope you understand…
I set the “Category Page Template” to “use link template”
I even set the “who can have access to packages under this category” to “administrator” only
I view the files page incognito view and still see all the files (when I click to download it tells me to login to download)
You can review my settings using the same credentials above
The topic ‘Hide files on “Categories” view if role not allowed’ is closed to new replies.