WP Admin Access Without Posts & Pages

[ad_1]

Hi folks,

I’m writing a plugin that integrates my non-WordPress site’s existing non-post content from tables. The eventual long-term plan is to gradually migrate this into something I can open source.

However, right now my issue is that my site’s contributing users currently divide into three groups:

* People who write and maintain posts and pages
* People who write and maintain the custom content
* People who do both

Obviously the first group fits in fine as editors and subscribers, etc but for the second group I don’t want to give them permission to access the posts and pages modules in the admin (or anything else).

Is it possible to lock down the dashboard like this so that the second group can get to the admin and see the custom content admin section, without also giving them the ability to write posts and pages?

If it’s not , how hard would it be to edit WP to implement this (e.g. by adding new WP capabilities that are checked in Core?

Otherwise my only alternative seems to be to write an entirely separate admin section in ‘non-admin’ space, which is not a good experience for the third group.

[ad_2]
2 Comments
  1. You can create your own WP role for people that do a specific job and give them the permissions you want.

  2. Check out this plugin it does exactly what you’re looking for. Or write it yourself 😉 it’s just role capabilities.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer