Let’s talk
← All insightsAgent security / operating controls

An AI agent permissions matrix your team can actually use.

Give each agent a defined job, a narrow identity and a visible limit. Use this worked example to decide which actions it may take.

The short answer

Define an agent’s permissions by action, data, destination and duration. Separate reading, drafting and execution. Enforce those limits in the systems that hold the data, then require a specific approval for consequential actions. Test what is denied as carefully as what succeeds.

Who this is for Product owners, engineering leads and security teams putting agents into real business workflows.

Agentic AI security

Start with the request that sounds harmless

Imagine a support assistant asked to “sort out this customer’s refund”. It reads a conversation, checks an order and drafts a reply. So far, the workflow looks sensible. But the connected commerce tool also allows refunds, address changes and account deletion. Does “sort out” authorize any of those actions?

This is an illustrative scenario, not a client incident. Its value is the ordinary ambiguity. A person may mean “prepare the options for me”. The agent may interpret the same words as “finish the transaction”. If the integration accepts the call, a carefully written system prompt is the only thing separating those meanings.

A permissions matrix turns that ambiguity into a decision a team can inspect. It records the operations the assistant can request and the independent conditions under which the application will permit them. The useful question is concrete: could this identity issue this refund, for this order, to this destination, at this moment?

A worked matrix for a support assistant

The following limits are a design example. Choose your own values from the actual workflow and downside. A low monetary amount is not automatically low risk: a customer address or medical note may be more sensitive than the payment.

On a small screen, scroll the table sideways.

Illustrative permissions for an order-support agent
OperationData boundaryExecution ruleEvidence
Read an orderThe authenticated customer’s selected orderServer checks customer and tenant on every readOrder ID, requesting identity, decision
Draft a replyApproved order fields and policy excerptsDraft stays in the review queueSource references and draft version
Send a replyExisting customer conversation onlyA reviewer approves the exact message and recipientApproved version and delivery result
Issue a refundSpecified order and original payment routeSeparate finance permission and transaction-specific approvalAmount, currency, approval, transaction ID
Change bank detailsNo accessDenied; use the existing verified business processDenied operation without sensitive payload
Delete an accountNo accessDenied; route to the authorized account processDenial and escalation reference

The table is a conversation starter, not the enforcement mechanism. Each row must map to a server-side permission or policy check. If one shared administrator credential performs every action, the matrix describes an intention the application cannot reliably maintain.

Write the permission in six parts

Use this sentence: this identity may perform this operation on this resource, for this purpose, until this time, subject to this approval. It is longer than “CRM access”, but it reveals the actual decisions.

  • Identity: name the agent or service principal. Do not use an employee’s full session simply because it is available.
  • Operation: distinguish read, list, create draft, update, send, export and delete. A connector name is not an operation.
  • Resource: restrict tenant, project, customer, record and fields where the system supports it. Check both search results and direct record access.
  • Purpose: tie the request to a current job or case. Reject a resource identifier that belongs to a different assignment.
  • Time: decide when the grant expires and when it is rechecked. A short token does not help if a refresh process renews it forever.
  • Approval: specify who may approve and exactly what they see. A vague “continue?” leaves the important decision hidden.

Permissions may differ between development and production. Keep those identities separate and show the environment clearly in the reviewer’s screen. An agent running a demonstration should have no path to the production refund operation.

Bind approval to the thing that will happen

A useful approval screen shows the action, destination, material fields and consequence. For an email, that means the actual recipients, subject, body and attachments. For a payment, it means the account, amount, currency and relevant business record. The reviewer needs to see enough to make the decision without reading the agent’s private reasoning.

Store a fingerprint of that proposed action. Immediately before execution, verify that the payload still matches, the approval has not expired, the approver still has authority and the underlying record has not changed in a way that invalidates the decision. If the destination changes after approval, ask again.

Approving a workflow once does not necessarily authorize every action it will ever discover. Separate standing permission for routine operations from approval for a particular consequential transaction. Make the distinction visible in the product rather than hiding it in an engineering document.

Make the tool narrower than the underlying account

Prefer a tool named “read selected order” over a general database query when that is the job. Prefer “prepare support reply” over an unrestricted shell. A small interface lets the application validate meaningful fields before a model’s suggestion touches another system.

OWASP’s excessive-agency guidance identifies excessive functionality, permissions and autonomy as separate contributors to harm. It recommends minimizing the tools and capabilities available to an application. That supports a practical review: remove an operation that the workflow never needs instead of relying on the model to remember not to use it.

Check the entire path. A read-only front-end tool may call a backend identity with broad write rights. A narrow API may expose an export endpoint that crosses all customers. Document the permission held by the executing identity, not just the method displayed in the agent interface.

Plan the interrupted action

The awkward case is often a timeout. The payment provider may have processed a request even though the agent never received the response. Retrying can create a duplicate; assuming failure can leave the user with the wrong status.

Use an operation identifier and the downstream service’s supported deduplication mechanism. Record that an attempt was made. Reconcile with the external system before retrying an uncertain result. Treat “requested”, “accepted”, “completed” and “confirmed to the user” as distinct states.

Recovery is operation-specific. A draft can be discarded. An email cannot reliably be recalled. A refund may need a compensating business process. A universal undo button would mislead users. Name the actual recovery step and the person responsible for it.

Seven tests before increasing autonomy

  1. Ask for a record in another customer’s account. The system should deny the request even when the model produces a plausible identifier.
  2. Put an instruction in retrieved content telling the assistant to export records. The content must not acquire authority over the job.
  3. Approve a message, then change its recipient. The old approval must no longer authorize sending.
  4. Revoke the agent’s access while a job is queued. The execution-time check must catch the change.
  5. Interrupt the network after an external action. Reconcile the result without making an unexamined duplicate.
  6. Request an operation outside the matrix. The application should refuse and provide a useful escalation path.
  7. Exhaust the usage allowance. The job should stop at a defined boundary and leave recoverable state.

Keep the observed result and the build version. A checklist marked “done” is weaker evidence than a reproducible denied request. Also run a normal authorized case so an overly broad block does not silently make the service unusable.

Keep the matrix attached to change

Review the matrix when a connector, data source, model, workflow or business policy changes. A new connector version may add operations. A new document source may contain instructions written by an outside party. A different model may choose tools differently even when the tool definitions stay the same.

Assign an owner to every row and remove permissions that no longer have a current purpose. Measure unexpected denials, inappropriate approval requests and recovery work. These observations tell you whether the boundary is usable as well as secure.

The next sensible step is a small one: select the workflow with the greatest combination of broad access and irreversible action. Write its matrix, implement one missing boundary and demonstrate both an allowed action and a denied action. Expand autonomy only when that evidence supports it.

Sources & notes

Sources reviewed 1 November 2026. The matrix, support scenario and test sequence are original illustrative design guidance, not evidence of a client deployment or a security certification.

Published by Active K Digital. Our articles explain practical delivery decisions; examples are illustrative unless a named case study says otherwise. Technical sources support the attributed points. They do not establish client results or certify a project.

Make your agent’s limits real.

Bring one workflow and the systems it touches. We can help turn broad access into a specific, testable control plan.

Discuss agent security