Skip Navigation

[Resolved] Limit view access of custom post types from administrator

This support ticket is created 4 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shane 4 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#1553579

Hi,

I needed to create custom post types, where the administrator does not have read/preview/publish permissions. This is a requirement, since the client does not wish the administrator (outside the organisation) to have access to what is confidential information.

In the Access Control module, the administrator is automatically given all permissions and there does not appear to be any way to remove these.

Wanted to know if it is possible to remove post type permissions from the admin user.

Thanks.

#1553797

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ashi,

Thank you for getting in touch.

You are correct True admins have all unrestricted access to the website.

What you need to do is to create what I would called a Super User which would function like an admin but you will be able to disable the post types that you dont want them to have access to.

To do this just create a new role and set it to Copy the Privileges from the default admin role. With this new sub admin role you can then disable the CPT that you don't want that role to have access to.

Thanks,
Shane