SubmissionRestGateway
Corex\Config\Submissions\SubmissionRestGateway · class · Config layer
Applies the shared nonce pipeline and canonical envelopes to Inbox REST actions.
Public API
Section titled “Public API”__construct(Pipeline $pipeline, MiddlewareResolver $middleware, SubmissionAccessPolicy $access)
Section titled “__construct(Pipeline $pipeline, MiddlewareResolver $middleware, SubmissionAccessPolicy $access)”permits(): true|WP_Error
Section titled “permits(): true|WP_Error”What every Inbox route asks before a handler runs: may this person manage submissions at all. The handlers ask again, and ask more: which submissions, and with a nonce for a change. This is here so the route says it is guarded. Registered open, it was refused to the same people and listed as public.