Warning
You're browsing the documentation for an old version of Webiny. Consider upgrading your project to Webiny 5.40.x.
WHAT YOU'LL LEARN
  • 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.
anchor

  1. From the Side Menu, click Settings > ACCESS MANAGEMENT > Groups.

  2. Click + NEW GROUP.

    ✔️ The form to create a new user group opens.

  3. In the Name textbox, type Pages Management.

  4. In the Slug textbox, type pages-management.

  5. In the Description textbox, type User group for Page Managers.

Step 2: Define Access Permissions
anchor

  1. Under the Permissions section, click Page Builder.

    ✔️ The Page Builder accordion opens.

  2. In the Access Level dropdown, click Custom access.

  3. Under the CATEGORIES section:

    a. In the Access Scope dropdown, click All content.

    b. In the Primary Actions dropdown, click Read, write.

  4. Under the MENUS section:

    a. In the Access Scope dropdown, click All content.

    b. In the Primary Actions dropdown, click Read, write.

  5. 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.

  6. 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.

  7. Under the BLOCK CATEGORIES section:

    a. In the Access Scope dropdown, click All content.

    b. In the Primary Actions dropdown, click Read, write.

  8. 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.

  9. Under the SETTINGS section, in the Access Level dropdown in front of Manage settings, select No access.

  10. Click SAVE GROUP.

    ✔️ The message “Group saved successfully!” displays.

Step 3: Create User
anchor

  1. From the Side Menu, click Settings > ADMIN USERS > Users

  2. Click + NEW USER.

    ✔️ The New User screen opens.

  3. In the First Name textbox, type new user’s first name (e.g. John).

  4. In the Last Name textbox, type new user’s last name (e.g. Doe).

  5. In the Email textbox, type new user’s email (e.g. johndoe@example.com).

  6. In the Password textbox, type new user’s password.

  7. In the Group dropdown, click Pages Management.

  8. Click SAVE USER.

    ✔️ The message “User saved successfully.” displays.