Skip to main content
All CollectionsCreate portals
How to add user roles on your portal
How to add user roles on your portal

Easily manage user permissions and their access by adding custom roles to your no-code portal's Users table.

Updated this week

Managing user permissions is essential for controlling access to different parts of your portal.

By adding custom roles to your Users table, you can define specific permissions and ensure users interact with only the relevant content.

This guide walks you through setting up user roles, assigning them to users, and managing access effectively.

Step 1: Open the user portal and access the users' table

  1. Navigate to the portal where you want to manage user roles.

  2. Enable edit mode to start editing the table.

  3. Click on Users from the top navigation bar.

  4. In the Users table, click on Edit Base to modify the user data structure.

add roles

This allows you to add new fields, such as roles, and define access settings for your portal users.

Step 2: Add new roles to your portal

  • On the User portal page, click on Edit base for the user form.

  • Click on the "Role" field and add options as the new roles to this field.

    For example, add roles such as Student, Teacher, and Admin to manage permissions effectively.

You can assign these roles to the users to manage access levels to different pages and data.

⚠️ Important Notes:

  • Do not rename or delete the default field names like Email, Full Name, or Role.

  • Do not remove or rename the "Member" role. This is the default option and should remain as is. You can ignore it if you don’t use it, but keep it in the list of choices.

  • If you remove or edit required fields or the default role, it may affect login, access control, and portal functionality.

Step 3: Assign roles to users

  1. In the Users table, locate the user you want to assign a role to.

  2. Click on the Role field in their row.

  3. Select the appropriate role.

  4. Repeat for other users as needed.

By assigning roles, you define who can access what inside your portal.

🔁 Tip for managing many users:

If you have a large number of users and assigning roles one by one is time-consuming, here’s a faster workaround:

  • Export your Users table to an Excel sheet.

  • Add or update the Role column in Excel.

  • Then import the updated sheet back as your Users table.

This way, you can manage user roles in bulk—without editing rows manually inside the table.

📝 Additional resource:
🔗 How to import users into your portal

Step 4: Manage role-based access to pages & data

After adding roles, you can restrict access to pages and databases based on user roles:

  1. Click on the three dots (⋮) next to the page name in the left sidebar.

  2. Select Access from the menu.

  3. Choose which roles can view or edit the page.

  4. Save your settings.

This ensures that different users only interact with relevant sections of the portal.

📝 Additional insights:

🔹 How to create a portal and manage users' access – Learn how to set up a portal and define user access.

🔹 How to restrict access to the pages on your portal – A step-by-step guide to limiting page visibility based on user roles.

Did this answer your question?