Your cart is currently empty!
Restriction to backend only
—
by
Hi! I am creating a knowledge base which involved a lot of Author. I would link to limit their permission to contribute to some assigned taxonomies only. Your plugin is working like charm on this function! Yet, I would like to allow them to view all posts in all taxonomies in the front end. Therefore they should be restricted by taxonomies in backend only. Is there any ways I can do this by this plugin?
Thanks!
Posted in Groups Restrict Categories
Comments
One response to “Restriction to backend only”
Hello,
Thanks for using the plugin!
If we’re on the same page here, you’d like to restrict Authors to be able to post only in certain categories/taxonomies, while the whole content is accessible (available for reading) for everyone, correct?
If that’s the case, I’m afraid the Groups Restrict Categories plugin doesn’t offer an out-of-the-box solution, as it’s designed to restrict any access to the chosen taxonomies.
You can customize the capabilities for any taxonomy with the register_taxonomy() function, and then create a group with the respective capabilities. The capabilities array for taxonomies offers to assign custom values to the manage_terms, edit_terms, delete_terms and assign_terms capabilities.
Here’s the Codex page on the register_taxonomy function, it’s pretty extensive and offers some examples too -> https://codex.wordpress.org/Function_Reference/register_taxonomy
Cheers,
Denitsa