How to Give Beaver Builder Users Access to One Page

Beaver Builder

The Beaver Builder plugin is an excellent good page-builder for WordPress sites.

This week, one PublishPress customer asked us if it was possible to allow some WordPress users to edit a single page with Beaver Builder.

Our first thought was “yes, this is easy”. We've done it before many times using this approach, this approach and others.

However, more testing revealed that a workaround is needed for Beaver Builder. This is because Beaver Builder can only be used if you have the edit posts permission. The edit_posts permission enables you to edit posts and that is too much power for the user we want to create. We only want to allow access to one page.

Here is a workaround that you can use restrict access to Beaver Builder pages.

It's worth nothing a very similar technique also works for controlling access to Elementor pages. These page builders can add a little complexity to WordPress: it's easier to give specific permission to normal WordPress posts.


Video tutorial


Step #1. Create a new user role

First, we're going to copy the Subscriber role because it has very limited permissions. Click here for more on creating new user roles.

Beaver Builder User
Beaver Builder User
  • Under “Type-Specific Capabilities”, check the box saying “Use create_posts capability”.
  • Click “Update”.
Create Posts Capability
Create Posts Capability
  • In the “Editing Capabilities” area, check the box for “Edit” in the “Posts” row.
  • Place a red X in all the other boxes of the “Posts” row.

What are we are doing here is giving the edit_posts permission, but also removing all the other key permissions.

Beaver Builder Editing Capabilities
Beaver Builder Editing Capabilities

Step #2. Give Access to Beaver Builder

Next, we will give our new user role the ability to use Beaver Builder:

  • In your WordPress admin menu, go to “Settings” > “Beaver Builder” > “User Access”.
  • Select “Beaver Builder User” from the two dropdown menus:
User Access Beaver Builder
User Access Beaver Builder

Now you can safely give users access to specific pages, and they will still be able to use Beaver Builder.


Step #3. Give Access to a Page

  • Go to “Pages” in your WordPress admin menu.
  • Edit a page.
  • Scroll down to the “Permissions: Edit this Page” box.
  • Choose “Enabled” for “Beaver Builder User”.
Beaver Builder Edit This Page
Beaver Builder Edit This Page

Step #4. Create and Test the User

  • Go to “Users” in your WordPress admin area.
  • Create a user in your new role.
Beaver Builder User 1
Beaver Builder User 1

Now it's time to test your new user. You can either login as the new user in different browser, or reply on a plugin such as User Switching.

When you login as your new user, this image shows what you will see. The user will have very limited access, but they will be able to edit the page you gave access to. They will be able to see the “Posts” screen but it will be completely blank for them. The PublishPress Permissions plugin is hiding any posts that they can not access.

Beaver Builder Page
Beaver Builder Page

Tags: Beaver Builder, create_posts capability, edit_posts capability, Elementor, Subscriber Role, Type-Specific Capabilities


Leave a Reply

Your email address will not be published. Required fields are marked *

Professional publishing plugins for WordPress! Get PublishPress

  • SUBSCRIBE TO OUR NEWSLETTER
  • SEARCH THIS SITE