-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
[Type] BugSomething isn't workingSomething isn't working
Description
Hi!
I noticed that when a user submits a custom post type post for approval (using the "Submit for Review" button), there’s no validation for required SCF fields.
Let me explain:
- I created the Events post type via SCF and defined custom capabilities for it (e.g.
edit_events
, etc.). - I created a new role, removed all default capabilities, and added
read
andedit_events
. Users with this role can now create Event posts. - These users cannot publish posts – they can only submit them for review. Everything works fine in general, but when a user clicks “Submit for Review” no check is performed for required SCF fields. As a result, posts can be submitted without completing mandatory fields.
Metadata
Metadata
Assignees
Labels
[Type] BugSomething isn't workingSomething isn't working