Skip to main content
All CollectionsClient Portal & Shared View for AirtableUser Profiles & Functions
How to show different tables, views or menu items depending on the user type
How to show different tables, views or menu items depending on the user type

I need to grant some logged-in users edit access only to specific fields based on their roles. I want to hide menu items.

Updated over a month ago

The miniExtensions Portal has powerful customization options which allow you to show only certain parts of your portal to certain types of users, e.g. admin users can see more or different tables or views than normal users, or users from different departments can see different tables etc. These options are extremely useful in many organizations, where you may need different access permissions for different types of users. In this article we outline how to configure tables, views and menu items to only be accessible by certain types of users.

Conditional Tables

Client portals -by default- display different records based on the logged-in user. But sometimes you may need to show different tables for different types of users. For example, make a certain table visible exclusively to admins or members of a specific department.

This can be achieved with our Conditional Table feature. You can set this up by going to:

  1. Your portal's configuration page

  2. Tables section

  3. Click on the table you want to show conditionally

  4. Conditional Table section

  5. Add conditions based on your users table. The table will only be visible to users that meet the conditions. Classic examples would be a checked "Admin" checkbox or a specific value for a Single Select field.

💡 Tip: Tables that are only shown conditionally will have a "conditional" tag in the list of tables in your portal's configuration.

Conditional Views

Using the Conditional View feature you can show certain views only to certain users. This can be extremely useful if you require users to have different access permissions within the same table. For example, you could have one view set up for regular users that only allows editing certain basic fields, whereas admin users/supervisors have full access to edit all fields.

You can set this up by going to:

  1. Your portal's configuration page

  2. Tables section

  3. Click on the appropriate table

  4. View section

  5. Select the view you want to show conditionally

  6. In the Conditional View section, add conditions based on your users table. The view will only be visible to users that meet the conditions:

Conditional Menu Items

In the same fashion as conditional tables and views, follow these steps to display menu items conditionally:

  1. Go to your portal's configuration page

  2. Menu Items section

  3. Click on the menu item you want to show conditionally

  4. Menu Item Conditions section

  5. Add conditions based on your users table.

Did this answer your question?