Integration

RBAC for iPaaS: least privilege down to the shape and operation

RBAC for iPaaS means giving each person, AI agent, and MCP client a role whose permissions match their job, down to which shapes, connectors, and individual operations they can use. Combined with the principle of least privilege, it keeps builders, operators, auditors, and agents from reaching every operation the connector catalog exposes.

By Adan Potyondy, Head of GTM

Least privilege down to the operation: a permission profile for HubSpot contact maintenance allows search, create and update contact and blocks delete contact and merge companies, with MCP allowed and publishing to Production needing a second person

RBAC (role-based access control) assigns permissions to roles, then assigns people to those roles instead of attaching permissions to each user. The principle of least privilege (POLP) says each person and each process acting for them should get only the access the job needs.

An integration platform is where both ideas get tested hard. It holds connections to the CRM, the ERP, the service desk and the databases, and it lets people and now AI agents write to all of them.

Every iPaaS has RBAC. The difference is how far down it reaches. With other tools, roles usually stop at the workspace, project, folder or asset level (Admin, Editor, Viewer and variants), and where individual actions can be blocked at all, the block often applies to the whole account rather than to a role. Some iPaaS tools limit you to a handful of fixed roles. Neblex keeps going: permission profiles reach individual shapes and connector operations, matched to each job, for people, AI agents and MCP clients on one control plane. That is why we call Neblex RBAC best in class for the iPaaS industry, and it is what makes least privilege enforceable rather than a slogan.

This post covers what RBAC means on an iPaaS, how granular roles should be, and what changes when AI agents and MCP clients use the same platform.

What is RBAC in an iPaaS?

RBAC is an access-control method in which administrators define roles, attach permissions to those roles, and assign users to the roles that match their jobs. In NIST's words, "a role is essentially a collection of permissions", and "all users receive permissions only through the roles to which they are assigned".

In an iPaaS, RBAC decides more than who can open the admin screen. It should decide who can:

  • build, edit and publish flows
  • run flows and replay failed runs
  • author AI agents and use them
  • create connections and see which flows use them
  • use the platform from an AI client over MCP, or through the API
  • operate On-Prem Workers
  • read the audit log

NIST also notes that RBAC "was in fact designed with SoD in mind", meaning separation of duty. On an integration platform, that shows up as the rule that the person who builds a change isn't the person who approves it for production.

What does least privilege mean on an integration platform?

NIST defines least privilege as restricting the access privileges of "users (or processes acting on behalf of users)" to the minimum necessary to accomplish assigned tasks. The phrase in parentheses matters on an iPaaS. Most work is done by processes acting for people: scheduled flows, webhook flows, AI agents, and AI clients.

Least privilege is harder here than in most business apps for one reason. A single connector can expose dozens of operations. A HubSpot connection a builder needs for "search contacts" and "update contact" can usually also delete contacts and merge companies. If the role allows the connector, it allows the whole catalog behind it unless the role can go further.

How granular should iPaaS roles be?

Roles should go as deep as the riskiest thing a person could accidentally do. For most teams, that is below the workspace and below the connector: it is the individual shape and operation. And the limit has to sit on the role, so a builder and an agent in the same account can get different answers.

LevelWhat a role can limitEnough on its own?
Workspace or organizationWho is in at allNo
Project, folder or environmentWhich flows and connections someone sees, and whereNot for production writes
Kind of objectView, create, edit, delete, run, approve per flows, connections, agents, formsClose, for people
Shape (step type)Whether someone may use code steps, SSH or programs on your own machinesNeeded once code and on-prem steps exist
ConnectorWhich systems someone may build againstNeeded for system owners
OperationWhich actions inside a connector, such as "update contact" but not "delete contact"Needed for agents and for systems of record
ChannelWhether someone may act through MCP or the API, not only the web editorNeeded once AI clients connect

Microsoft's guidance for AI agents makes the same point: "design role-based access controls (RBAC) around discrete tasks, not teams or org charts". A role named "Sales Ops" says little. A role named "HubSpot contact maintenance, no deletes" can be checked.

How do you apply least privilege to AI agents and MCP clients?

Give an agent only the tools it needs for its task, run those tools as the person asking, and make high-impact actions wait for a person. The same applies to an AI client building over MCP.

OWASP lists excessive agency among the top risks for LLM applications and traces it to three causes: excessive functionality, permissions, and autonomy. Its mitigations line up with what an iPaaS role should enforce:

  • Limit the tools an agent may call "to only the minimum necessary". A model chooses tools at runtime, so every tool left reachable is one it may try.
  • Limit the permissions those tools have in other systems to the minimum necessary.
  • Run tools "in the context of that specific user, and with the minimum privileges necessary". An agent acting for a person must not inherit that person's full session, and must never exceed it.
  • Require a human to approve high-impact actions before they are taken.
  • "Implement authorization in downstream systems rather than relying on an LLM to decide if an action is allowed or not."

The last point is why RBAC belongs in the platform, not the prompt. An instruction like "never delete records" is a request to the model. A role that excludes the delete operation is a control.

MCP clients add one more question: may this person use the platform through an AI client at all? Treat it as a permission in the role, separate from using the web editor, and let the person connecting a client narrow its scopes further.

Worked example: four roles for a HubSpot and service desk workspace

Take a 100-person company syncing HubSpot with Jira Service Management and a PostgreSQL billing database on an On-Prem Worker. Three jobs need access, plus an AI agent that answers support questions in Slack.

RoleMay doMay not do
Integration builderCreate and edit flows in Development; use HubSpot search, create and update contact operations; use code stepsDelete or merge HubSpot records; publish to Production; run programs on the on-prem server
Operator (on call)Run and replay flows in Production; read run historyEdit flows or connections; see credential values
AuditorRead the audit log, export evidenceRun, edit or publish anything
Support agent (AI)Look up a contact and its open tickets; create a ticket commentUpdate or delete contacts; query billing data beyond a read-only customer view; act for anyone but the person asking in Slack

Promotion to Production goes to a second person, so the builder can't approve their own change. The agent's "create ticket comment" tool can require approval at first, then run without it once the team trusts the output.

Two things in this table go below the usual Admin, Editor and Viewer split. The builder's HubSpot access stops at specific operations, and the agent's database access is read-only and tied to the requester. Those are the two places where a broader role would expose a system of record.

How Neblex handles RBAC

Neblex Integration Fabric uses permission profiles, and they are the reason we call its RBAC best in class. The built-in profiles are Owner, Admin, Editor, Operator, Viewer and Auditor, and you can create your own. A profile sets view, create, edit, delete, run and approve rights per object type, and limits which shapes in the shape palette, which connectors, and which individual operations its members may use. Two roles in the same account can see different palettes.

Programmatic access is part of the same profile. Using MCP from an AI client and programmatic API access are separate channels you grant per profile. Building and publishing over MCP always need a sign-in with a second factor, the person connecting chooses the scopes (operate, author, publish), the projects or flows and the environment, and access can be revoked at once. A static API key used with MCP can only inspect and run the flows it is granted; it can never create or publish.

For AI agents built in Neblex, any tool can require human approval, so the action waits until a person approves it. You can also put approval steps inside a workflow and give the agent that workflow as a tool. A tool can be pinned to act only for the person asking. Database tools run read-only, read and write, or with full access, and each agent run can be capped in turns and tokens.

Around the profiles sit the usual controls: SSO over SAML or OpenID Connect, SCIM that never grants the highest administrative roles, promotion into a protected environment approved by a different person, and a tamper-evident audit log recording role and permission changes and access denials.

What can go wrong

  • Role sprawl. Exceptions granted to individual users pile up until nobody knows what a role means. Change the role or create a new one instead.
  • Connections broader than roles. A role that allows only "update contact" still runs through a connection whose credentials may allow deletes. Scope credentials in the target system too, such as a HubSpot private app with only the scopes the flows need.
  • Programs on your own machines. Steps that run a program over SSH or on an On-Prem Worker act with the rights of the account you give them. Limit who may use those steps and give that account only what its jobs need.
  • Agents that grow tools over time. Each new tool widens what the agent can do. Review an agent's tool list as you would a role.

The takeaway

Start from the jobs, not the org chart. Write down what each builder, operator, auditor, and agent must do; give each a role that reaches down to the operations that write to systems of record; and add approval where an agent acts. Sign-in tells you who is there. RBAC for iPaaS decides what they can reach.

Sources

Last checked: December 3, 2026.

Frequently asked questions

What is the difference between RBAC and least privilege?

Least privilege is the goal: each person and each process acting for them gets only the access the job needs. RBAC is a way to reach it: permissions attach to roles that match jobs, and people get permissions only through the roles they hold. RBAC delivers least privilege only when roles are narrow enough for the work.

Is OAuth or SSO enough to control access in an iPaaS?

No. SSO and OAuth establish who signed in and which client is acting. They don't decide what that identity may build, run, approve or publish, or which connector operations it may call. That decision belongs to the platform's roles, so every authenticated session still needs a role scoped to the job.

Should an AI agent get the same permissions as the user who asks it?

No more than that user has, and usually less. OWASP recommends running an agent's tools in the context of the specific user with the minimum privileges necessary, and requiring a person to approve high-impact actions. An agent should get only the tools its task needs, not every permission the person it acts for has.

How many roles does an integration platform need?

As many as you have distinct jobs, and no more. A small team usually starts with builder, operator, auditor and an administrator, then adds narrow roles for AI agents and for people who own a single system. Review roles when jobs change rather than adding exceptions to individual users.

What should an MCP client be allowed to do in an iPaaS?

Only what the person who connected it may do, limited further by the scopes they chose. Using MCP should be a role permission, building and publishing should require sign-in with two-factor authentication, and publishing to production should require a person's approval.

Talk to the people who build it

Bring us the product or the integration that hurts most

We will build it with you, on your data, with the run log open.