Control record access with data filters

Overview

Data filters in Claris Studio allows you to securely deliver record data to end users by matching a user field with the current user's information. This powerful security feature ensures end users only see and access records explicitly assigned to them, enhancing both privacy and data security.

Why use data filters?

Data filters enable you to create solutions with user-level access granularity where:

  • End users can only view, modify, and delete their own data.

  • Sensitive information remains protected through server-side filtering.

How data filters work in Claris Studio

Within each hub, you can configure access controls that filter what records users can access in tables based on matching attributes between the authenticated user's identity information such as email or user name.

Configuring data filters

Prerequisites

To configure data filters, you must have:

  • A Claris Studio hub with tables containing your solution's data.

  • Users invited to your team.

  • Fields in your tables that can be used to identify record ownership (Email field icon (@ symbol) email field or User field icon (outline of a person) user field). To automatically determine the email or user name of signed in users:

    • For the Email field icon (@ symbol) email field, set the Default Value to "Account Name".

      Add Column, Email field, Default Value, Account Name

    • For the User field icon (outline of a person) user field, set the Default Value to "Current User".

      Add Column, User field, Default Value, Current User

    Note  You can also manually enter values or use a calculation to determine the value for more advanced cases.

  • (Optional) User groups to control access at a higher level.

Configuration steps

  1. Click in the top right corner of the hub for which you want to configure data filters.

  2. Use the All Users and Groups tabs to find the user or group you want, then click the checkbox to add them to the hub if they haven't been already.

    Group and Member Access to Hub, All Users

    Group and Member Access to Hub, Groups

  3. Click in the row of the user or group, then click Configure Data Filters.

  4. In the Data Filters Configuration dialog, find the table you want to control access to, then select one of the following options:

    Note  The Source column shows the table name, not the view name.

    • All Records - If you want the user or group to be able to see all records in the table.

    • Email - If you want the user or group to be able to see only records that match their email.

    • User- If you want the user or group to be able to see only records that match their user name.

    Note  The available options depend on whether fields above are present in the selected table.

    Data Filters Configuration, User Configuration for Data options

  5. Click Apply.

Now, when the user accesses views associated with the table configured for data filtering, they will only see records that they create and are associated with either their email or user name. In the screenshot below, the user "Claire DeLune" only sees two records in the Clients view, which was created from the My Clients table.

Data Filters, configured team member view

Whereas team manager "Johnny Appleseed" can see both his and other users' records.

Data Filters, team manager view

Best practices

  • Always include a user identifier field in every table requiring secure access control.

  • Test your data filter configuration with multiple user accounts before deployment.

  • Document your security model for future reference and team knowledge sharing.

  • Regularly audit who has access to what data in your solution.

Troubleshooting

  • Users can't see any records - Verify the attribute field values exactly match user information.

  • Users see too many records - Check if your matching criteria is too broad or if records have duplicate identifiers.

  • User needs full access - Promote the user to team manager. By default, team managers have access to all hubs and records.