How to Give Beaver Builder Users Access to One Page

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.

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.

  • Enter “Beaver Builder User” into the “Role Name” box.
  • Click “Create Role”.
  • Go to “Capabilities” in your admin menu.
  • Under “Unique Capabilities for Post Types” in the sidebar, check the box saying “Enable the “Create” column for selected post types”. Click “Update”.
  • Click “Update”.
  • 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

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

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

  • Steve Burge

    Steve is the founder of PublishPress. He's been working with open source software for over 20 years. Originally from the UK, he now lives in Sarasota in the USA. This profile is generated by the PublishPress Authors plugin.

    View all posts

Leave a Reply

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