dataSights

Set up user-level permissions for AI Connect

Last updated

You decide exactly what each person, and each connected AI tool, can see and do with your dataSights data. Four controls in dataSights decide what someone can reach: Page & Action Permissions decide what they are allowed to do, Data Permissions decide which tables and views they see, Connector Entity Permissions decide which Xero organisations they see, and Select Views & Descriptions decides which views any AI tool can see at all. On top of those, your AI tool's own connector settings decide what the AI will even attempt. Set them together and you get fast reads on the right data with a high barrier on writes. For the four controls side by side, see Control who sees what.

Connecting an AI tool for the first time? See the connect page for Claude, ChatGPT or Microsoft Copilot.

Watch the walkthrough

This video starts with user permissions, then connects Claude and shows how to use the connection. The same steps apply to any MCP-capable AI tool; the written steps below cover the same ground.

Set user permissions in dataSights

  1. Go to Admin, then Users.

  2. Open the user's Actions menu and choose Page & Action Permissions (or edit the role they belong to).

  3. Expand AI Connect in the permission tree and grant what this person needs:

    • AI Connect: the baseline. Lets the user connect an AI tool and check Xero sync status.

    • Data: read access, so the AI can list views and run read-only queries. Beneath it:

      • Create Report View: save new SQL views.

      • Edit User Data via MCP: create and edit their own user tables from the AI tool.

      • Add Views and Generate Descriptions via MCP: add views and generate descriptions from the AI tool.

    • Post to Xero: upload records to Xero, with a separate switch per record type (Upload Xero Accounts, Upload Xero Contacts, Upload Xero Invoices, Upload Xero Manual Journals, Upload Xero Attachments, Upload Xero History Notes, Upload Xero Purchase Orders). Post to Xero also covers triggering a Xero data sync.

    • Generate Board Pack via MCP: clone a published board pack into a new draft.

  4. Save. The change applies to the user's next AI tool call, with no reconnect needed.

Choose what data a user can see

Permissions decide what someone can do. Data Permissions and Connector Entity Permissions decide what they do it to. Set them per user and they apply wherever that person works: the web application, the Office Add-In and AI Connect. That is the per-user layer; which views are exposed to AI tools at all is set once for the business in AI Connect.

Tables and views: Data Permissions

  1. Go to Admin, then Users.

  2. Open the user's Actions menu and choose Data Permissions.

  3. Every table and view starts ticked. Search the expandable list and untick the ones this person should not see.

  4. Save.

Every table and view is available by default, so the checkboxes start ticked. Unticking is how you narrow: untick the payroll tables and the user sees everything except those. Reset special permissions gives them everything back. You cannot save with nothing ticked: dataSights shows "Select at least one table or view." and leaves their permissions as they were.

Reach for this when someone needs the platform but not the whole ledger: an operations manager who should see inventory and sales but not payroll.

Xero organisations: Connector Entity Permissions

  1. Go to Admin, then Users.

  2. Open the user's Actions menu and choose Connector Entity Permissions.

  3. Select the Xero organisations this person should see data from. Leave it empty for unrestricted access.

  4. Save.

Reach for this when someone should only see part of the group: an external bookkeeper who looks after one entity. The restriction applies to their AI tool too, so their queries only return that entity's rows.

Neither menu appears for a user in the Admin role. Admins always see everything.

Tune the AI tool side (Claude example)

  1. In Claude, open Customize, then Connectors, and select the dataSights connector to see its tool list.

  2. Read-only tools (query, list views, describe view, get Xero sync status, and the other list/describe tools) are marked read-only by dataSights, so Claude offers Always allow for them. Set the read tools to Always allow and the repeated permission prompts stop.

  3. Write tools (the Xero uploads, trigger sync, table editing) can stay on Ask, or be set to Never allow for a hard block on that tool for that user.

Where these permissions apply

Everything above is enforced by the dataSights API. The web application, the Office Add-In and AI Connect all make their requests through it, so a permission you set applies in all three immediately, with no reconnect.

A reporting tool that connects straight to the database takes a different route. Excel Power Query, Power BI Desktop and SQL Server Management Studio sign in with the server name, database name and login from your connection details page. These tools connect directly to your database, as that database login, not as a dataSights user, so what they can read is governed by that login rather than by the permissions above.

That is the right design for a database you own: your data, your credentials, any tool you like. It does mean the two routes are controlled in two places, so if you want a person limited on both, set both.

To limit someone's direct database access as well:

  1. Remove their access to Data Engineering > 1. Database and Data Engineering > Database Firewall Rules, so they do not hold the shared login.

  2. Ask us for a scoped database login. We can restrict it to named tables or views, make it read-only, or limit which view definitions it can see. Log a ticket, email us or give us a call, and tell us what the person should be able to reach.

Most groups never need step 2, because the people with a BI tool on their desk are usually the people who should see the data anyway. It is there for when that is not true.

dataSights

Try dataSights free

See how dataSights automates your Xero consolidation and reporting. Start your 14-day free trial, no credit card required.

Start for free