Setting permissions with AI
You don’t need to configure permissions manually. Tell the AI chat how your app should work in plain language, and it sets up the right rules for you. This works when you are first building your app and at any point later when your needs change. When the AI creates a new data table, it adds permission rules in the same step, without waiting for you to ask, and tells you in the chat which tables it secured. It picks the rules based on who the data belongs to. For example, orders stay visible only to the person who placed them and your admins, while a product catalog stays open for anyone to browse. If the rules it picks don’t match how your app should work, tell the AI chat what to change, like in the prompts below. If it needs to change rules you already have, it asks for your approval first. Here are some examples of prompts you can use:Customizing permissions manually
If you want to review or fine-tune the permissions on a specific data table, you can do that from the table’s Permissions page in your dashboard. The page opens in a read-only view showing your current rules. Click Edit to make changes. To customize permissions for a data table:- Click Dashboard in your app editor.
- Under Data, click the table you want to manage.
- Click Permissions in the top right of the page. If there are permission issues, you see a warning icon on the button.
- Click Edit to open the Configure permissions panel.
- Check the boxes for the actions you want each rule to cover:
- Create: Add records.
- Read: View records.
- Update: Edit records.
- Delete: Remove records.
- If you check a box for Entity-User Field Comparison, fill in its 2 settings:
- Entity field: Enter the field from this table to compare.
- User field: Choose the matching property from the person’s account.
- If you check a box for User Property Check, fill in its 2 settings:
- User property: Choose the property on the person’s account to check.
- Required value: Set the value it must match.
- Click Save.

Managing permissions for your data
- Any matching rule gives access: A person who matches one rule can do that action, even if they don’t match the others.
- Adding rules: To add another Entity-User Field Comparison or User Property Check row, click Add rule at the bottom of the panel.
- Removing rules: You can’t remove a rule that’s the only one covering an action. Add another rule for that action first, then deselect the one you want to remove.
- Seeing the technical format: The Generated JSON (Preview) section at the bottom of the page shows how your rules translate into the technical format Base44 uses behind the scenes. You don’t need to understand it to use the permissions editor, but it’s useful if a developer asks you to share your permission configuration, or if you want to verify exactly what rules are in place.
Permission rule types
You don’t usually need to add rules manually. The AI sets them up when it creates your data tables, and the Permission recommendations panel suggests fixes when something looks off. This section is here if you want to understand what each rule does before applying a recommendation, or if you need to fine-tune something specific.Using Entity-User Field Comparison
This rule checks whether a field on the record matches a property of the signed-in person’s account. If they match, access is granted. You set 2 things:- Entity field: The name of a field that already exists on this data table. To find your field names, open the table from your dashboard and look at its columns. Type the field name exactly as it appears, such as
assigned_toorowner_email. - User field: The property from the signed-in person’s account to compare it with, selected from a drop-down. For example, their email address.
assigned_to field that stores the email of whoever the task belongs to. Set Entity field to assigned_to and User field to email. Now each person only sees the tasks assigned to them.
You can add multiple Entity-User Field Comparison rows if you need to match on more than one field pair.
Using User Property Check
This rule checks a property on the signed-in person’s account and grants access only if it matches a value you set. You set 2 things:- User property: The account field to check, such as the person’s role, email or full name.
- Required value: The value it must match. For the role, choose Admin, User or one of your app’s own roles from the drop-down. For other fields, type the value.
Applying permission recommendations
If the AI detects a potential risk in your current setup, a Permission risks detected banner appears directly on the data table page. It shows a summary of the risk and the recommended fix. To apply the recommendations in one step, click Fix on the banner. To review the changes before you apply them, follow the steps below.
A permission issue on a table
- Click Dashboard in your app editor.
- Under Data, click the table with the risk.
- Click More details on the Permission risks detected banner.
- Compare the panel’s 2 sections:
- Risk: Your current rules, and why they may expose data to unintended people.
- Recommended rules: The suggested replacement, with a plain-language description of what it enforces.
- Click Apply recommendations to replace your current rules with the recommended ones, or click Cancel to close the panel and keep your existing rules. You can still edit the rules manually after you apply the recommendations.

Permission recommendations panel
Testing your permissions
After you change a table’s permissions, test them to check that each person can reach only what they should. Testing opens your app’s preview as the people you choose, so you see your rules the way they do. Changes you make while testing are saved to that person’s data, so test with sample people where you can. To test your permissions:- Click Dashboard in your app editor.
- Under Data, click the table you want to test.
- Click Permissions in the top right of the page.
- Click Edit, change the rules, and click Save. Learn more about customizing permissions manually.
- Click Test permissions in preview, next to Edit. Your app’s preview opens on a page that uses this table, with the list of people already open.

Testing your permissions after you save them
- Select a person to see the app as them.
- Check what they can see and do. To compare, select someone else from the drop-down next to You’re acting as.
- Click Exit mode when you’re done.
Examples by app type
Not sure how to set up permissions for your app? You can ask the AI chat to review your setup and suggest the right rules, or use a common scenario as a starting point. Choose the scenario closest to your app:Public site with a contact or inquiry form (for example, a business landing page)
Public site with a contact or inquiry form (for example, a business landing page)
- App visibility: Public.
- Require login to access: No.
- Permissions: For the form submissions table, use All Users on Create so anyone can submit. Use User Property Check on Read, Update, and Delete, restricted to your admin role, so only your team can view and manage the incoming messages.
Internal team dashboard (for example, HR, sales, or project tracking)
Internal team dashboard (for example, HR, sales, or project tracking)
- App visibility: Workspace.
- Require login to access: Yes.
- Permissions: Use User Property Check to restrict sensitive tables, such as salary data or performance reviews, to a manager role. For general content like announcements or shared resources, use All Users on Read so the whole team can view it.
User portal (for example, an expense tracker or personal dashboard)
User portal (for example, an expense tracker or personal dashboard)
- App visibility: Public or Workspace, depending on whether you want open sign-up or invite-only access.
- Require login to access: Yes.
- Permissions: Use Creator Only on Read, Update, and Delete for every personal data table. This ensures each person can only access records they created.
Blog or content site with private editing
Blog or content site with private editing
- App visibility: Public.
- Require login to access: No, unless you want to gate certain content.
- Permissions: Use All Users on Read so anyone can view content. Use User Property Check on Create, Update, and Delete, restricted to your editor or admin role, so only your team can manage content.
Multi-tenant app (for example, a SaaS platform or school system)
Multi-tenant app (for example, a SaaS platform or school system)
- App visibility: Public or Workspace, depending on your setup.
- Require login to access: Yes.
- Permissions: Use Entity-User Field Comparison to match a field on each record to a property on the signed-in person’s account. For example, if each record has a
company_idfield and each user account has a matchingcompany_idproperty, set Entity field tocompany_idand User field tocompany_id. Each person only sees records that belong to their company. For admin access within a group, combine this with a User Property Check on the admin role.
FAQs
Do I need to set up permissions myself?
Do I need to set up permissions myself?
Why aren't my permissions restricting access correctly?
Why aren't my permissions restricting access correctly?
Will changing permissions affect people already using my app?
Will changing permissions affect people already using my app?
Can I create more roles than just user and admin?
Can I create more roles than just user and admin?
department or access_level) to your User table and define values like manager or viewer. Then use User Property Check rules on that field to give each role the right level of access. You can ask the AI chat to set this up for you.Can I restrict access to specific fields in a record?
Can I restrict access to specific fields in a record?
The permissions editor is showing JSON instead of the rule matrix. What happened?
The permissions editor is showing JSON instead of the rule matrix. What happened?
I changed permissions through the API, and my change disappeared. Why?
I changed permissions through the API, and my change disappeared. Why?