AppMachine's "Lock" block offers a "User Groups" feature that allows you to create groups of registered users that can be granted access to specific blocks. To create a user group, follow the steps below:


Create a New User Group


  1. Open your app and click on the "Users" section in the left vertical menu. 
  2. Click on the "Groups" tab. This is where you will be creating your User Groups.
  3. Click on the blue "Create New Group" button.
  4. Give your new group a name. Click "Save."



Assign a registered user to a User Group


  1. Open your app and click on the "Users" section in the left vertical menu. 
  2. Click on the "Users" tab. 
  3. Select the user you would like to assign to a User Group. 
  4. Click on the "Groups" tab. This area shows the groups this user is a member of and allows you to assign the user to more groups.
  5. Click on the blue "Assign to a group" button.
  6. Select the appropriate group from the dropdown menu. In this case we've chosen "Sales Team."
  7. Repeat steps 5 and 6 to assign the user to multiple groups. 


Use User Groups in the "Lock" block


  1. Add a Lock block to the app and select the "User Groups" option. 
  2. In the Lock block's "Settings" tab, select the groups from the multi-select dropdown menu that should have access to the block.
  3. Follow the steps above in the "Assign a registered user to a User Group" to make sure all users who need access can open the locked block.