What role capabilities are needed to use Elementor?
-
Hi! I’ve created a custom user role which should only have the capabilities edit_pages, edit_private_pages, edit_published_pages, publish_pages, read.
However, when I click “Edit with Elementor” on a page when I am logged in with this role, Elementor fails to load and the page hangs.
This failure seems to be due to a failed AJAX GET request to /wp-json/elementor/v1/globals which returns a 403 error and the following response body
code: "rest_forbidden" data: {status: 403} status: 403 message: "Sorry, you are not allowed to do that."
If I give my custom role all of the available WordPress capabilities (as though it were an admin user), then Elementor loads the globals without a problem.
This suggests to me that there is a certain capability or set of capabilities that are required for a role to be able to use Elementor. Somewhere in the list of capabilites that my custom role does not have, must be one or more that Elementor’s REST API endpoint checks for before allowing permission to load the Globals.
Please could you tell me what they are?
- The topic ‘What role capabilities are needed to use Elementor?’ is closed to new replies.