json/content-control/v2/blockTypes status 403
-
When diagnosing a javascript error, not related to content control, I noticed that I am getting a status code 403 back from <server-name>/wp-json/content-control/v2/blockTypes when doing “Add new post” for anyone other than an administrator.
It appears that a POST(!) of this REST request occurs when bringing up the “Add new post” page. That of course triggers the EDITABLE permission callback, which only returns true for administrators (or strictly speaking people with ‘manage_options’ or ‘actvate_plugins’ capabilities). Hence, the 403 for non-admins.
I wouldn’t expect to be getting 403 errors during standard operations. This isn’t urgent, as it is not stopping my system working. However, it suggests to me that this bit of content control is not being called as expected.
- The topic ‘json/content-control/v2/blockTypes status 403’ is closed to new replies.