- This topic has 5 replies, 2 voices, and was last updated 5 years, 2 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Hi there,
We keep having the “pages” show up for a user.
We have a CPT called Loans that we are allowing the user to edit only.
I have the following settings enabled:
Settings/
Display Deprecated Capabilities
Override Edit Permissions
Disable Navigation Menu Permissions
Override Navigation Menu Permissions
Customize Permissions (custom post types) – Field Groups
Disable Extended Permissions (post types) – Field Groups
Capabilities:
Dashboard – Read
Post – edit published posts
Field groups ACF field Group – (all enabled)
CPT LOANS – edit plublished pages
It seems the “pages” – “edit published pages” keeps being marked as enabled even after disabling and saving.
Hi Tania,
Its because the ‘CPT LOANS’ uses the same capability ‘edit_published_pages’. So if you enable it for that CPT, it will be enabled for Pages too.
Is this giving you any issues?
Thanks
Syam
Thanks Syam,
It looks like I cant remove the “edit_published_pages”.
Here’s a video:
https://drive.google.com/file/d/1w9QHul7BOqXqGuDDIaXxys7JprGne0k9/view
Hi Tania,
I understand what you are saying. What I meant was, to remove ‘edit_published_pages’ capability, you will have to remove it from both Pages and Loans. Because both settings are referencing the same capability from two different post types.
Thanks
Syam
hmm. So with your plugin I cant restrict everything BUT the CPT “loans”?
Hi Tania,
Sorry, I don’t think I understand your issue. I thought you wanted to remove the ‘edit_published_pages’ capability. Am I missing something?
Thanks
Syam