WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Access Areas
[resolved] Multiple Roles To View A Page (3 posts)

  1. laura.lee
    Member
    Posted 3 months ago #

    Hello... I am sure you did it, but I am not seeing it. On a page, if I want two different user groups to see the page... and not others... how do I do that? The drop down is for only one. Thanks.

    https://wordpress.org/plugins/wp-access-areas/

  2. laura.lee
    Member
    Posted 3 months ago #

    It would be nice if it was possible to "pick two" (or more). But, I just re-arranged how I do things to make it work for me with one choice. I just like how this program works inside the post area... so I'm reworking how I do other things so it works for me. All set. Thanks.

  3. podpirate
    Member
    Plugin Author

    Posted 3 months ago #

    Hi Laura Lee,

    I'm afraid, but you can only select one property for access control on a post. Did this mainly for performance reasons. Otherwise there would be a lot of database work to be done (checking two lists of properties for matching items) on every post just to decide if a post is displayed or not. Anyway: many-to-many-relations are mostly a bad idea, when you need to keep things straight and clear. It's hard enough

    I already did a lot of brainwork on that topic. I finally came to the conclusion, that multiple access areas on a user account are enough to satisfy all possible use cases. Instead of assigning "blacksmiths" and "carpenters" to a post, the same goal can be achieved by creating a group named "craftsmen" and assign it to both the post and the affected users.

    Anyways, thanks for you feedback!
    joern

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.