• Resolved valuser

    (@valuser)


    Many thanks for a very useful plugin.

    If I understand this properly then I can:

    1) Assign a term/permission to a page

    then

    2) Allow a user to see a page with that permission.

    Excellent!

    Now

    Is there any way (or future plans for) that one could

    1) Assign a term/permission to a page

    then

    2) Restrict a user from seeing a page with this permission.

    ?

    https://www.ads-software.com/plugins/simple-restrict/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Awaken Solutions Inc.

    (@awakensolutions)

    Hi valuser,

    You are correct in your description. The plugin requires you to choose what pages the user has permission to see.

    To restrict a page from a user as you suggest, you would need to ensure that the page has a permission set, and that the user does not have that permission assigned to their profile.

    There is no current plan to code the plugin in the way you described, but if you could please let me know your particular use case, I could help suggest how this plugin could do that as easily as possible.

    All the best.

    Thread Starter valuser

    (@valuser)

    Thank you so much for very prompt reply!

    particular use case: restrict only a few users from accessing certain pages

    I suppose i could do it with something like in functions.php

    add_action( ‘template_redirect’, ‘redirect_to_specific_page’ ) + wp_redirect; etc etc etc

    and redirect those particular users to another page.

    In any event – a very useful plugin

    Plugin Contributor Awaken Solutions Inc.

    (@awakensolutions)

    I assume you also want those pages to be restricted to the general public, correct?

    If so, then you could assign a permission to all your pages (you can do so with bulk edit), and then assign that permission to all your users except those few users.

    Thanks for your positive input and don’t be shy to review the plugin (as a new plugin, this can help it grow).

    Thread Starter valuser

    (@valuser)

    review – will do

    you can do so with bulk edit

    Agh! bulk editing page permissions would solve everything – how to ?

    Plugin Contributor Awaken Solutions Inc.

    (@awakensolutions)

    Here is a link that shows how to bulk edit page properties. The page permissions are editable in this same way.

    https://premium.wpmudev.org/blog/bulk-editing-page-post-details/

    Thread Starter valuser

    (@valuser)

    many thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Restrict User rather than Allow user’ is closed to new replies.