- October 4, 2019 at 12:31 am #89861
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:
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
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.October 4, 2019 at 10:07 pm #89915
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?
SyamOctober 4, 2019 at 11:13 pm #89917
It looks like I cant remove the “edit_published_pages”.
Here’s a video:
https://drive.google.com/file/d/1w9QHul7BOqXqGuDDIaXxys7JprGne0k9/viewOctober 5, 2019 at 1:22 pm #89931
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.
SyamOctober 7, 2019 at 10:23 pm #89999
hmm. So with your plugin I cant restrict everything BUT the CPT “loans”?October 8, 2019 at 10:40 pm #90032
Sorry, I don’t think I understand your issue. I thought you wanted to remove the ‘edit_published_pages’ capability. Am I missing something?
You must be logged in to reply to this topic.