Page Builder > Advanced
User Creation
Learn how to create a user with custom access to Page Builder.
- how to create a user group
- how to define access permissions for a user group
- how to create a user
Webiny allows you to add multiple users to the application with different access permissions to the Page Builder. In this tutorial, we will learn how to create a user group with custom access permissions to the Page Builder. Then we will create a user within that user group.
As an example, we will create a user group with the following access permissions:
- Permission to view, create, and update all the page categories in the Page Builder.
- Permission to view, create, and update all the menus in the Page Builder.
- Permission to view, create, update, publish, and unpublish all the pages in the Page Builder.
- Permission to view, create, update, and unlink all the templates in the Page Builder.
- Permission to view, create, and update all the block categories in the Page Builder.
- Permission to view, create, update, and unlink all the blocks in the Page Builder.
We will do this in 3 steps:
- Step 1: Create a user group.
- Step 2: Define access permissions.
- Step 3: Create user within the user group.
Step 1: Create a User Group.
From the Side Menu, click Settings > ACCESS MANAGEMENT > Groups.
Click + NEW GROUP.
✔️ The form to create a new user group opens.
In the Name textbox, type Pages Management.
In the Slug textbox, type pages-management.
In the Description textbox, type User group for Page Managers.
Step 2: Define Access Permissions
Under the Permissions section, click Page Builder.
✔️ The Page Builder accordion opens.
In the Access Level dropdown, click Custom access.
Under the CATEGORIES section:
a. In the Access Scope dropdown, click All content.
b. In the Primary Actions dropdown, click Read, write.
Under the MENUS section:
a. In the Access Scope dropdown, click All content.
b. In the Primary Actions dropdown, click Read, write.
Under the PAGES section:
a. In the Access Scope dropdown, click All content.
b. In the Primary Actions dropdown, click Read, write.
c. Under PUBLISHING ACTIONS, check both - Publish and Unpublish checkboxes.
Under the TEMPLATES section:
a. In the Access Scope dropdown, click All content.
b. In the Primary Actions dropdown, click Read, write.
c. Select the User is allowed to unlink a template checkbox.
Under the BLOCK CATEGORIES section:
a. In the Access Scope dropdown, click All content.
b. In the Primary Actions dropdown, click Read, write.
Under the BLOCK CONTENT section:
a. In the Access Scope dropdown, click All content.
b. In the Primary Actions dropdown, click Read, write.
c. Select the User is allowed to unlink a block checkbox.
Under the SETTINGS section, in the Access Level dropdown in front of Manage settings, select No access.
Click SAVE GROUP.
✔️ The message “Group saved successfully!” displays.
Step 3: Create User
From the Side Menu, click Settings > ADMIN USERS > Users
Click + NEW USER.
✔️ The New User screen opens.
In the First Name textbox, type new user’s first name (e.g. John).
In the Last Name textbox, type new user’s last name (e.g. Doe).
In the Email textbox, type new user’s email (e.g. johndoe@example.com).
In the Password textbox, type new user’s password.
In the Group dropdown, click Pages Management.
Click SAVE USER.
✔️ The message “User saved successfully.” displays.