Global data restrictions in your app
Limit which records and fields each user group can view, create, edit or delete in a table, with one rule that applies everywhere in your app.
A global data restriction limits which records, and which fields, a user group can reach in a table. You set the rule once, and it applies everywhere in your app: every page, every list, every form, every action, and AI assistants connected through MCP. Use it for client portals, where each client sees only their own records.
The rule runs on Softr’s servers. A record a user may not view never reaches their browser, and an action on a record they may not change is refused, whatever the page code does.
Open the data restrictions
In the Users tab of your app, open Data Restrictions. The tab lists every restriction of your app, with its table, its user groups and a mark for each action it limits. Select Add restriction to add one, or ask Softr AI: “Clients see only the projects of their own company.”

Add a restriction
A restriction names a table, the user groups it applies to, and the rules for each action.
Choose a table
Select the data source, then the table. A restriction applies to one table.
Choose the user groups
Under Apply to user groups, select one or several user groups. To restrict a single person, put them alone in a user group. See User groups.
Set the rules for each action
The window has one tab per action: View, Edit, Create and Delete.
- View and Edit: a list of rules. Select Add rule to add a rule, or select a rule to change it. A tab can hold several rules.
- Create: one switch.
- Delete: one rule, set on the tab itself.

A rule of the View or Edit tab has three steps:
- Access: choose Restrict or Allow only.
- Records: choose All records, or Some records that match conditions.
- Fields: choose the fields the rule covers.

| Choice | What it does |
|---|---|
| Allow only | Users reach only the records that match your conditions. Other records are off limits |
| Restrict | Users cannot reach the records that match your conditions. Other records stay available |

Select Save rule to go back to the list, then Save to save the restriction.
Without any restriction, users can view, create, edit and delete every record of the tables your app uses, as far as the app lets them. Each restriction narrows that.
Add conditions
Conditions link records to the signed-in user. For example, to let clients view only their own projects, match the project’s Client email field to the signed-in user’s email. Each client then sees only the projects that carry their email.

To build a condition, select Some records. Then pick a field of the table, an operator and a value. The value can be a fixed value, or a field of the signed-in user, such as their Email. Select Condition to add another condition, or Group to group conditions.
The operators depend on the field type. A text field offers Is, Is not, Contains, Is any of, Is empty, Starts with and more.

Common conditions:
- A field of the record equals the signed-in user’s email.
- A linked record points to the signed-in user, or to their company.
- A status field has a value, such as “Published”.
Hide fields
In the Fields step, list the fields the rule covers. Use it for internal fields, such as notes or margins, that clients must never see.
- With Restrict, users still get the records, but not the fields you list.
- With Allow only, users get only the fields you list.
Pick All current & future fields to cover every field, also the fields you add later.

Block new records
In the Create tab, turn on Don’t let users create new records. The users of the groups can then add no record to the table.

Limit deletions
In the Delete tab, set one rule with the Access and Records steps. For example, Restrict and All records stop the users of the groups from deleting any record.

When a user is in several groups
A user can belong to several user groups with different rules. Then:
- Allow only rules add up: the user reaches the records that any of their groups allows.
- Restrict rules win over Allow only rules.
For example, a table has 5 records, A to E:
| User group | Rule |
|---|---|
| A | Allow only records A, B and C |
| B | Allow only records D and E |
| C | Restrict record E |
A user in all three groups can view records A, B, C and D.

Several restrictions on one table
A table can have several restrictions, and a user group can appear in more than one of them. Softr adds up every rule that applies to the groups of a user, in the same way as above.
What your users see
| Rule | What changes for the user |
|---|---|
| View restricted | The records never appear: not in lists, details, search, dropdowns of related records, or filters |
| Create restricted | Adding a record to the table is refused |
| Edit restricted | Changing the restricted records is refused |
| Delete restricted | Deleting the restricted records is refused |
When an action is refused, the button may still show on the page. Ask Softr AI to show each button only to the user groups that can use it: “Show the Delete button only to Admins.”
Test your restrictions
Use Preview as in the preview to sign in as a user of each group, and check what they can see and change. Then run the security check before you publish. See Publish your app and Access overview.
FAQ
Do data restrictions apply to workflows?
No. Data restrictions control what users see and do in your app. A workflow runs on Softr’s servers, not as an app user, so its steps can read and change every record of the tables they use. If a workflow must only touch some records, add those conditions to the workflow itself, for example with a Filter step.
How do data restrictions work in Classic apps?
Classic apps are the older Softr apps, built from blocks before Softr AI. Classic apps have global data restrictions too. Open Users, then Data restrictions, then select Add restriction. A rule applies to one table and one or more user groups. It limits what they can view, create, edit or delete. In Classic apps, a user group can appear in only one restriction per table. It covers dynamic blocks, dropdown options and inline filters. The Comments block is not covered. See Options filters and global data restrictions.