Roles and permissions
Each person has an organization role and a separate domain role in each domain they join. The organization role governs workspace administration. The domain role governs the agents, flows, triggers, knowledge and shared connections in that domain.
An organization Member can be a domain Owner. An organization Owner can be a domain Viewer, or have no membership there. The two roles are independent. The basic domain member role is Viewer; domain members collectively includes all four domain roles. Neither term means the organization Member role.
Organization roles
| Role | What it grants |
|---|---|
| Owner | Organization administration, including inviting Admins and managing other Owners' access status. The last active Owner cannot be disabled. |
| Admin | Organization settings, AI providers and policies, budgets, organization knowledge, invitations for Members, and domain membership administration. Cannot invite Admins or disable/re-enable an Owner. |
| Member | Access to their own account, personal API keys, connected AI apps and enabled personal features. Domain work is determined by their domain memberships. |
| Organization action | Member | Admin | Owner |
|---|---|---|---|
| Manage own profile, password, personal API keys, connected apps and sign-ins | Yes | Yes | Yes |
| Manage organization settings, AI providers and policies | No | Yes | Yes |
| Manage organization-wide knowledge modules and decide OCR spending | No | Yes | Yes |
| Invite an organization Member | No | Yes | Yes |
| Invite an organization Admin | No | No | Yes |
| Disable/re-enable another Member or Admin | No | Yes | Yes |
| View and export the organization audit log | No | Yes | Yes |
| Create or rotate a personal API key | If the API key policy allows it | Yes | Yes |
| View every member's API key details and revoke a key (Settings → API keys) | No | Yes | Yes |
| Set the API key policy: longest key lifetime and who can create keys | No | Yes | Yes |
| Turn session recording on or off (Settings → Privacy) | No | Yes | Yes |
| Manage automatic provisioning (SCIM) and map its groups to domain roles | No | Yes | Yes |
| Change what each domain role can do (Settings → Permissions) | No | Yes | Yes |
| Block or unblock an integration, or one of its tools, for everyone | No | Yes | Yes |
| Disable/re-enable another Owner | No | No | Yes, while retaining an active Owner |
| Create a domain | If organization policy allows it; becomes its Owner | Yes | Yes |
| Assign any domain role or remove membership across the organization | No | Yes | Yes |
| View or use a domain's agents, flows, triggers, knowledge and sessions | Requires domain membership | Requires domain membership | Requires domain membership |
| Read someone else's personal chat | No | No | No |
| See the organization's own templates | Yes | Yes | Yes |
| Rename or delete one of the organization's templates | Ones they saved | Yes | Yes |
Saving an agent or flow as one of the organization's templates shares a copy of its current draft with everyone in the organization: any member sees the template, and anyone who can edit agents and flows in a domain can start a new one from it there. Only the person who saved a template, or an organization Owner or Admin, can rename or delete it. An agent that comes with a module can't be saved as a template.
API keys. A personal API key acts as the member who created it, with only their permissions. Organization Owners and Admins can see every member's keys under Settings → API keys - the key's name, its owner, what it can do, when it was created, when it expires and when it was last used, never the key itself - and revoke any of them; the revoke is recorded in the audit log against the key's owner. They also set the organization's API key policy: the longest a new or rotated key may last (with a limit set, a key can't be made to never expire) and whether everyone or only Owners and Admins can create and rotate keys. The policy applies to keys created or rotated after it is set; keys that already exist keep their expiry until they are rotated or revoked. Every member can still revoke their own keys.
Organization Owners and Admins can see the domain directory and administer domain membership without joining each domain. This does not grant access to its agents or session transcripts. A domain Owner can manage existing organization members within their own domain; inviting a new person into the organization still requires an organization Owner or Admin.
The invitation wizard offers Member and, for organization Owners, Admin. Its domain selector supports search/autocomplete; a single eligible domain is selected automatically. You can assign any domain role you are authorized to manage, or select Assign domain access later. Someone without domain membership can still use enabled personal features, but has no access to domain resources.
Domain roles
These roles apply only within the named domain. The matrix describes the default access every organization starts with; your organization may have changed some of it (see Changing the defaults). The approval and session exceptions below are part of the rules.
| Domain action | Viewer (member) | Operator | Editor | Owner |
|---|---|---|---|---|
| View agent/flow configuration and revision history | Yes | Yes | Yes | Yes |
| Start a session or run on a published agent/flow | Yes | Yes | Yes | Yes |
| View ordinary agent/flow sessions in the domain | Yes | Yes | Yes | Yes |
| Participate in a session they started or own | Yes | Yes | Yes | Yes |
| Participate in a teammate's or unowned automated session | No | Yes | Yes | Yes |
| Rename, archive, delete or set the outcome of a session | Own sessions | Own sessions | Own sessions | Any session in the domain |
| Name or remove a conversation's stakeholders | Own sessions | Own sessions | Own sessions | Any session in the domain |
| Create, edit, publish or archive agents and flows | No | No | Yes | Yes |
| Save an agent or flow as an organization template, or start one from a template | No | No | Yes | Yes |
| Use Builder; view and join a linked Builder conversation | No | No | Yes | Yes |
| Start draft test drives, Flow sandbox runs and evaluations | No | No | Yes | Yes |
| View evaluation reports | Yes | Yes | Yes | Yes |
| Edit tests and their checks, learned rules, agent memory and knowledge | No | No | Yes | Yes |
| Read domain triggers, knowledge and webhook configuration | Yes | Yes | Yes | Yes |
| Manage triggers, subscriptions, catch-up batches and webhooks | No | Yes | Yes | Yes |
| Create/edit/publish domain knowledge bases, articles, modules and synced sources | No | No | Yes | Yes |
| Manage shared connections and credentials | No | No | No | Yes |
| Open the agent/flow Integrations configuration panel | No | No | No | Yes |
| Add/remove domain members and assign any domain role | No | No | No | Yes |
| Manage domain settings and its approval policy | No | No | No | Yes |
| Decide domain-routed approvals under the default policy | No | Yes | Yes | Yes |
| Complete human tasks | No | Subject to the step's role floor | Subject to the step's role floor | Yes |
A domain must retain at least one Owner. Organization Owners and Admins also have the membership-administration authority described above; they still need the corresponding domain role to edit agents, manage triggers or manage domain knowledge.
Viewers and Operators inspect configuration through the same Markdown, JSON and form components with editing disabled. They are not shown draft-version labels, unpublished-change dots, publish controls or Builder editing actions. The Integrations configuration entry is hidden when the person cannot manage domain connections. Operators retain their separate trigger and webhook management controls.
Changing what a domain role can do
An organization Owner or Admin can change the defaults above for the whole organization in Settings → Permissions. The page shows each role's permissions, marks every cell your organization changed, and edits them in a drawer with Restore defaults. Changes apply to everyone with that role, in every domain, within a few seconds, and each save is recorded in the audit log.
Only these permissions can be changed, and only for Viewers, Operators and Editors:
- Run agents and flows
- Manage schedules and triggers
- Manage webhooks
- Build, edit and publish agents and flows (this includes Builder, draft test drives and evaluations)
- Manage knowledge
For example, you can stop Editors publishing by removing Build, edit and publish agents and flows from them (leaving it with Owners), or let Operators maintain knowledge. Some permissions are fixed so a domain always stays manageable: Owners always hold everything, every member can see the domain, managing members, connections and domain settings stays with Owners, and who decides approvals is set by each domain's approval policy. A role must also keep everything the roles below it have - the page will not save a matrix where, say, Operators can publish but Editors cannot.
Organization-wide knowledge modules and OCR spending decisions are organization responsibilities. Publishing domain articles, retrying ingestion and running domain preflight checks require Editor or Owner access in that domain. A knowledge base is shared through its owners and its two lists - Who can read it and Whose agents can use it - never one article at a time; being on a list does not grant permission to manage the base.
Yekar-managed resources
A domain or agent marked as managed by Yekar remains visible and runnable to its domain members. Tenant roles, including organization and domain Owners, do not grant permission to change its definition or governance. Managed setup reads expose model and cap metadata, version information and integrations; prompts and tool wiring are withheld.
Organization administrators and domain Owners may add Viewers and Operators to a managed domain and switch between those two roles. Higher role assignments, changes to release-assigned higher roles, membership removal, domain metadata, archival and approval-policy edits require Yekar's release writer. Existing approval decisions still follow the domain's policy.
Editors and Owners assigned by Yekar may create and edit tenant-owned agents within a managed domain. Those agents count toward the agent limit. Managed domains and managed agents do not count toward the domain and agent limits. Trigger configuration on managed agents is protected; the existing enable/disable action remains available to authorized members.
Session visibility and participation
| Session | Who can view | Who can participate |
|---|---|---|
| Personal/free chat, including a conversation with no attached agent | Creator only | Creator only |
| Ordinary Agent or Flow session | Current members of every domain that owns the agent or flow, and the person who started it | Creator/recorded owner, plus Operators, Editors and Owners of an owning domain |
| Trigger, schedule, event or API session | Current members of every domain that owns the agent or flow | Creator/recorded owner, plus Operators, Editors and Owners of an owning domain |
| Builder conversation linked to an agent | Anyone who can currently edit that agent | Anyone who can currently edit that agent |
| Builder conversation before an agent is linked | Creator, while retaining edit access to its domain | Creator, while retaining edit access to its domain |
| Evaluation replay | Current domain members, through evaluation reports | Nobody; start a new evaluation instead |
| Agent draft test drive | Current domain members | Editors and Owners only |
Participation includes sending messages, attaching files and cancelling turns or executions. It does not grant approval authority or permission to edit the agent. Renaming, archiving, deleting or setting an outcome requires the session's creator/recorded owner or a domain Owner, after passing the session's visibility check. Personal chats remain private even from organization Owners and Admins.
A trigger's owner is recorded when a session starts, separately from the actor that executed it. A Viewer who owns a trigger or schedule can therefore participate in its sessions, including after the trigger is deleted, while remaining a domain member. A personal API key acts as its authenticated owner, and so does an AI app a person connected through the MCP server - except for the acts an app can never do, such as creating keys, entering secrets or changing who has access (details). An automated session without a recorded human owner can be read by domain members and driven by Operators, Editors and Owners. Older sessions whose trigger ownership can no longer be recovered remain without an assigned owner.
A linked Builder conversation is shared across the agent's current Editors and Owners, regardless of who started it. Its transcript and stream are accessed through Builder's edit-permission check. Builder conversations are not exposed to other users through the service domain's general session list.
New human messages record their authenticated author; another person's message is not labelled as yours. Older messages without author records remain unattributed. Ownership of an automated session does not change which credentials its tools execute with; see Integrations & identity.
A conversation's creator/recorded owner or a domain Owner can name stakeholders: members of its domain who must also sign off on every pause in it (Stakeholder sign-off). Being a stakeholder grants sign-off only - not participation, and not visibility: a stakeholder who is a Viewer can sign off but still cannot send messages or cancel turns in someone else's conversation, and naming someone never shows the conversation to anyone outside its domain. Personal chats cannot have stakeholders.
Archived agents and evaluation replays have additional restrictions on new messages. Losing the free-chat feature preserves existing personal transcripts but prevents new messages there. Historical sessions from the retired Apps feature retain organization-wide visibility and organization Owner/Admin control.
Cross-domain access and revocation
Permissions are evaluated against the resource's actual domain. An Editor in Support who is a Viewer in Finance can edit Support agents, inspect Finance configuration and run published Finance agents, but cannot edit Finance agents or participate in teammates' Finance sessions. With no Finance membership, they cannot open those resources at all. The MCP tool list and recent-agent suggestions also check current domain membership. Existing cross-domain agent connections remain identifiable by ID, name and domain ID, marked restricted: true; their other metadata is omitted.
A link to a child agent's session does not grant access to that child's domain. Organization-wide knowledge sharing also does not grant domain membership. Removing someone from a domain removes access to its sessions, including those they created or own; downgrading an Editor to Viewer removes Builder access and leaves ordinary session participation limited to their own sessions.
Dashboard read APIs accept an optional domainId, intersected with current memberships. An inaccessible domain returns empty lists and zero counts. With no selection, reads retain their membership union and existing personal-chat visibility; selecting a domain excludes domain-less chats. A conversation or run with an agent or flow belongs to the domains that own it NOW, so a domain that joins sees its history and a domain that leaves stops seeing it; any other conversation keeps the domain it was opened in.
Authorization is checked on each new request, including direct URLs, API calls and mutations. Organization roles do not bypass session or agent domain checks. Feature availability, resource state and plan limits can further restrict an otherwise authorized action.
Archived domains are read-only
Archiving a domain shows, before it happens, everything it changes:
- It leaves every item it shares with other domains - agents, flows, accounts, knowledge bases and triggers. The other owners keep them, and its cost share goes to them in proportion to theirs. If it was the primary owner, the item has none afterwards.
- It comes off every sharing list on other domains' items. The confirmation names each item and list.
- What it owns alone is archived: its agents and flows stop, its triggers switch off, its knowledge bases close. Its accounts are kept but serve nothing.
Each of those changes is its own row in the audit log. While it is archived, its members can still open everything in it and read its history, but nothing in it runs or changes:
- Creating or editing anything there is refused with "This domain is archived".
- Nobody can send messages in its conversations or manage them.
- Nobody can approve a pause there.
- Its connected mailboxes and Teams chats are not watched, and its synced knowledge sources are not refreshed.
The domain's Owner, or an organization Owner or Admin, can restore it. Restoring brings back what archiving it archived - its agents, flows, triggers and knowledge bases - but never makes it an owner again of what it left. A restored domain counts toward your plan's domain limit again, so restoring is refused when the plan has no room for another domain.
Shared agents and flows
An agent or flow can be owned by more than one domain. Every owning domain is equal: its members act on the agent with the role they hold in their own domain, so a Sales Editor edits a Support-and-Sales agent exactly as a Support Editor does, and a Sales Viewer reads it.
Adding an owner. Whoever can edit agents in an owning domain can ask another domain to co-own one, from the agent's Owners settings. Before anything is sent, the dialog shows what will happen: the new cost split (equal shares unless you change them), how many existing conversations the new domain will be able to read, and a new name if the other domain already has an agent with that name ("Invoice follow-up (Finance)"). If you can also edit agents in the receiving domain it takes effect at once; otherwise an Editor or Owner there accepts or declines it under Requests.
Leaving. A domain can always leave on its own; its cost share goes to the remaining owners in proportion to theirs. Nobody removes another owning domain. The last owner cannot leave - archive or delete the agent instead. Organization Owners and Admins can remove an owner, clear the primary owner and narrow a usage list, so a dispute can be settled, but they cannot add owners or widen who can use something.
The primary owner is optional. It supplies defaults, may change the cost split on its own, and is shown first. Setting it is open to anyone who can add owners.
Who can run it. Beside its owners, an agent or flow can let other domains run it - choosing a minimum role in each ("HR: Operators and above") - or everyone in the organization. Running means starting conversations and runs, and another agent calling it on that person's behalf; it never shows the agent's setup or allows editing. People in those domains find it under Shared with you on their Agents page and in the agent picker when they start a conversation; it opens as a new conversation, not as the agent's page. Changing the list needs no acceptance from the domains added to it.
Cost. Every model call and priced tool call of a shared agent is divided between its owners by the cost split in force when the call was made, and each part counts against that domain's monthly budget and appears under it in the cost report. A change to the split never recalculates past calls. The primary owner changes the split at once; otherwise a change waits until every domain whose share would rise accepts it. When any owning domain's budget is used up, the agent stops for everyone, and the message names whose budget ran out. A call's count (calls, unpriced calls) is counted once, under the primary owner or the largest share.
Every change - an owner asked, added, accepted, declined, left or removed; the primary set or cleared; a split proposed or changed; a usage list changed; an automatic rename - is recorded in Settings → Audit log under Access. Organization Owners and Admins open an item's whole history from History on its Owners panel, which filters the audit log to that item.
Triggers. Anyone who can manage an agent's triggers may attach it to a trigger any of its owning domains owns, or one whose "Whose agents can use it" list includes one of them. An event trigger watches only an account its owning domains own, or one shared with them.
Organization templates. A template is usable by everyone in the organization until its creator or an organization Owner or Admin narrows Who can use it to chosen domains, each with a minimum role. People outside it neither see the template nor start from it.
Shared accounts
A domain's connected account (its connection to Slack, Linear and so on) can be shared the same way, from Owners on the integration's page.
- Owners of any owning domain manage it: they rotate or replace its credentials and change its settings, from their own domain's Integrations page. A domain holds one account per integration, so an account cannot be shared with a domain that already has its own.
- Disconnecting it for everyone is for the primary owner, or for the last owner left. Any other owner leaves it under Owners instead.
- Whose agents can use it offers the account to other domains' agents without making those domains owners. Each of those domains sees the integration marked Shared by its owners on its Integrations page, and its agents choose the account under Runs as - connecting one of its own is then optional.
- Its calls are approved by the approvers of any owning domain - or only the primary owner's, when one is set. The domains are fixed when the call pauses, so changing owners or the primary later never moves a pause that is already waiting. An approver from one of those domains decides the call from the Approvals inbox even when they cannot open the conversation it came from.
Runs as: which account an agent uses
An agent's Integrations settings say what each integration runs as. For Domain account, an agent can use any account one of its owning domains connected, and any account whose "Whose agents can use it" list includes one of them. Anyone who can edit the agent picks one under Account; left on Default, it runs as the only account available, otherwise the primary owner's, otherwise its home domain's. The person using it takes its settings and the "personal sign-ins allowed" rule from that same account.
If the chosen account stops being available to the agent's owners - a domain leaves, or the account's list no longer includes them - the agent's calls on it stop with "The account this agent runs as … is no longer one its owners may use" until someone chooses another.
Approval authority follows identity
Participation and approval are separate permissions:
- Domain-routed approvals use the approval policy of the domain whose account the call uses - for a shared account, any owning domain's, or only the primary owner's. By default, Operators, Editors and Owners qualify. A domain Owner can change the minimum role or name additional domain members as approvers. Members who meet the minimum role continue to qualify when a named list is configured. A named Viewer can decide an agent approval, but a Flow gate's own minimum role still applies on top of the domain policy.
- Credential-owner approvals can be seen and decided only by the person whose supplied credential or personal sign-in the work uses, while they remain a member of the execution’s domain. Domain or organization seniority does not override that identity.
- Confirmations ask the person who initiated that attended turn to confirm an agent-selected write. Only that person can answer, including a Viewer; a confirmation does not grant general approval rights and is not listed in the Approvals inbox, though a stakeholder's sign-off on one is.
- Human tasks use the same domain approval policy, together with the step's assignee-role floor. Naming a member does not bypass that step-specific floor.
- A gate configured to disallow self-approval refuses its initiator even when that person otherwise qualifies.
- A tool your organization requires several approvers for needs that many different qualifying people, each counted once; when it uses one person's own credentials, that person must be one of them. Any one approver can reject it.
- An agent's own auto-approve condition can skip a pause its Setup adds, and the skip is recorded. It never skips an approval your organization requires.
- Auto mode lets the person a confirmation would ask answer it in advance, for their own messages in one conversation. It never answers anyone else's confirmation and never skips an approval, and it is off in a conversation that names stakeholders. Support staff signed in to your workspace and connected AI apps cannot turn it on. See Stop asking in this conversation.
- Stakeholder sign-off adds deciders and never replaces the approval policy, the credential owner or the person who asked: a pause in a conversation that names stakeholders needs their sign-off as well as its normal answer, and the person who asked never signs off on their own request. Changing a conversation's stakeholders is barred to support staff below full write mode and to connected AI apps. See Stakeholder sign-off.
Approval inboxes, pending counts and history use the same current membership and approval policy as decisions. The aggregate approval list, counts and history accept an optional domainId; a domain the caller has not joined returns an empty result. A flow or agent approval is selected by the domain stored on its run or session.
Organization-mandated tool approvals take precedence over agent confirmations. See How approvals are layered and Approvals.
An organization block is stronger than any approval: a blocked integration or tool cannot run at all, whoever would approve it, and an agent that names it cannot be published. Only an organization Owner or Admin can block or unblock; domain Owners cannot override a block. See Block an integration or a tool.
Who sees cost
What something cost is shown to the people who can already see the thing itself. Organization roles add the organization-wide report; they do not open a domain's conversations or agents.
| Cost | Who can see it |
|---|---|
| A conversation's Cost so far card, including its Subagents line | Anyone who can view the conversation. The Subagents line is a total and a count of conversations; it never names or opens a subagent's conversation the reader could not open on its own. |
| Cost per turn on an agent's Health page | Anyone who can view the agent - every member of its domain. |
| A schedule's cost estimate in its edit drawer | Whoever can edit the trigger: Operators, Editors and Owners of its domain. Its subscribers are always that domain's agents, so they can view each one already. |
| What a test run cost, and the estimate beside Run tests | Test reports and their cost: every domain member. The estimate sits beside Run tests, so it is shown to the people who can run tests (Editors and Owners). |
| The organization's cost report (Settings → Plan & usage → Cost) | Organization Owners and Admins only. |
Auto discovery
Auto discovery reads a domain's work data, so it follows the same domain roles and organization administration does not bypass it:
- Importing a domain's integrations and knowledge base, and starting a discovery there, needs the domain's Owner role.
- Seeing a domain's insights and discoveries, and creating an agent from an insight, needs Editor or Owner.
- A person's own sign-ins can be imported, and added to a discovery, only by that person, and only in a domain they own - where they can start the discovery that reads them. Insights drawn from them show everyone else the finding, never the examples behind it.
- Discovery settings - when discoveries run on their own, how far back they look, their spending cap - are changed by organization Owners and Admins.
Separate operational identities
A partner request made for a vouched person uses that person's organization and domain roles; a partner key does not itself supply those roles. Support access is time-limited, recorded, and restricted to its approved scope, and it is only possible while the organization's Allow support sessions setting is on - an organization Owner or Admin can turn it off in Settings → Support sessions. See Partner tenant API and Support sessions.
An identity provider with the organization's SCIM token holds no role of its own. It may add people as Members, turn a Member's or Admin's access off and back on, and give or take away the domain roles an Owner or Admin mapped its groups to - never an Owner's access, an organization role, or a person's name or sign-in address. See Automatic provisioning.
Managed modules
Organization Owners and Admins can install an available module; only the Owner can upgrade or uninstall it. Installation adds the installer to the managed domain as an Operator. Module Operators can maintain tenant-owned knowledge in that domain. The managed knowledge base and its published contents stay readable but cannot be edited by tenant roles. Managed knowledge bases do not consume the knowledge-base count limit. Uninstall archives all agents in the module domain, including tenant-created agents, while retaining tenant knowledge and package data. Modules are listed and installed from Settings → Plan & usage → Modules.
Where isolation is enforced
Two boundaries, enforced in two different places. State them separately in a security review.
- Between organizations: the database itself, under every query. Every record that belongs to an organization is tagged with that organization, and the database enforces a per-row policy on that tag: when a request is scoped to an organization, the database filters every read and write to that organization's rows, so a query that forgot its organization condition returns nothing rather than another organization's data. Above that floor, every query Yekar.AI makes already carries the organization condition; the database policy is defense in depth under that discipline, not a substitute for it.
- Between domains (teams) inside one organization: Yekar.AI's own permission checks, on every request. The database policy is per organization and knows nothing about domains. Domain isolation is enforced by the application: one permission resolver decides every domain action from the caller's current membership and role, session visibility is one shared rule applied to every session read and count, and every read of a domain's agents, flows, triggers, knowledge, connections and sessions is scoped by that membership. Organization roles do not bypass these checks; the uniform "not found" answer never confirms that an inaccessible resource exists.
What the database policy does not do: it does not separate domains or teams, it does not apply where the platform deliberately runs without an organization scope (background jobs, database upgrades, and Yekar.AI's own support console), and it is not what hides one member's personal chat from another. Those guarantees are the application's, and are tested as the application's.
Where to go next
- Domains, users & roles - create domains and assign access.
- Teams and offboarding - invitations, status changes and revocation.
- Sessions - inspect work and collaborate.
- Agent Builder - share an agent's authoring conversation.