Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

admin restriction

$
0
0

Replies: 0

Hi,
I’m working on a website where:
– logged out users should be able to visit all the pages;
– the admin (logged in user, obviously) should be able to visit all the pages;
– logged in users with role “employer” should be able to visit the pages dedicated to employers only;
– logged in users with role “candidate” should be able to visit the pages dedicated to candidates only.

At the moment, everything works except the admin part. I have tried all the combinations but with no success. The only way to make the admin part work is to place it on top, but then logged out users won’t see anything anymore.

From highest priority to the lowest, my pyramid is:
– logged out user restriction
– admin restriction
– logged in employer restriction
– logged in candidate restriction

How can I achieve my objective?

Thank you


Viewing all articles
Browse latest Browse all 59525

Trending Articles