Team policies
A team policy sets rules for everyone on the team, on top of the personal settings: which review rules apply and how strictly, whether read-only is enforced, which write actions are blocked, whether and where Ask Tailor may send data, custom rules and risks accepted for the whole team. Exactly one policy is active at a time.
- Edition
- Partner, Team
- Where
- Settings › “Team policy” card; Policy Studio in the “More” menu › “Security & governance”
- Sources
- browser management (no signature), file or HTTPS URL (signed)
- Format
- JSON,
version: 1 - Signature
- Ed25519 over the canonical JSON
Where the policy comes from
| Source | In the “Team policy” card | Condition |
|---|---|---|
IT browser management (policy key) | Source: IT browser policy | Applies without a signature, cannot be removed in the panel, always takes precedence (Rollout in the company). |
| File | Source: File | Signed only. Loaded once and kept in the browser profile. |
| HTTPS URL | Source: URL | Signed only and https only. The host permission is requested for this address only; the file is loaded without cookies. |
You load a file or URL under Settings › Team policy › Load a signed policy: Choose file …, or enter an address in the Policy URL field and click Load. Remove takes it out again.

- Name, source, signature, load time and expiry.
- What the policy does.
- Edit in Policy Studio.
When a policy is active, the card shows its name, the source, · signed, · loaded … and · valid until …, and below that what it does: Read-only enforced, Disabled rules: …, Severity: …, Naming standard: …, Blocked actions: …, AI: …, Custom rules: … and Minimum score: …. Without a policy it says “No team policy active.”
How it combines with your own settings
- Severity, blocks, naming and read-only: the policy wins. With
readOnly: "enforced"the Read-only switch is locked. - Disabled rules: those from the policy and your own add up. Rules switched off by the policy appear greyed out in the settings.
- Accepted risks: acceptances from the policy apply to everyone in the review, marked “Accepted via the team policy – change it there.” (Review).
- Blocked write actions end with “The team policy blocks “…”.” and an entry blocked in the audit log (Settings and audit log).
The policy fields
| Field | Meaning |
|---|---|
version | Must be 1. |
name | Required; shown in the “Team policy” card. |
issuedAt, expiresAt | Issue and expiry date. After expiresAt the policy is rejected. |
rules.disabled, rules.severity | Switch review rules off (e.g. "STD-03") or re-rate them: critical, high, medium, info. |
naming | Binding naming standard for rule STD-01 and the live check when creating artifacts. |
readOnly | enforced (switch locked) or default (preset only). |
blockedActions | IDs of blocked write actions, such as trace.enable or iflow.deploy; ["*"] blocks all. |
ai | allowed (Ask Tailor allowed or blocked), endpoints (allowed URL prefixes, https only), requireMasking (masking before sending is mandatory). |
webhooks | allowed and endpoints (https URLs with a path) for the error watcher’s messages to Teams, Slack or Jira. |
customRules | Custom review rules (see below). |
cpilint | Rules taken over from a CPILint rule file (IDs CPL-…) including exemptions. |
minScore | Minimum score; the review shows “Team policy: minimum score … reached” or “… not reached”. |
acceptances | Accepted risks per iFlow ID: a list of ruleId, comment (required) and optionally location. |
testGate | mode (off, warn, confirm), minScore (0–100), requireSuite, maxSuiteAgeDays, blockOnCritical. Overrides the local test gate setting. |
An example with invented values:
{
"version": 1,
"name": "Acme – Integration Standards",
"issuedAt": "2026-11-01",
"expiresAt": "2027-10-31",
"readOnly": "default",
"rules": { "disabled": ["STD-03"], "severity": { "SEC-02": "critical" } },
"blockedActions": ["trace.enable"],
"ai": { "allowed": true, "endpoints": ["https://ai.acme.example/"], "requireMasking": true },
"webhooks": { "allowed": true, "endpoints": ["https://hooks.acme.example/cpi/"] },
"minScore": 70,
"testGate": { "mode": "confirm", "requireSuite": true, "maxSuiteAgeDays": 7, "blockOnCritical": true }
}
Custom rules
Custom rules have IDs of the form X-… (capital letters, digits, hyphen) and run in the review like the built-in ones. Each has title, severity, message and fix, optionally category and rationale. message can use the placeholders name, type, id and value, each in double curly braces. There are two kinds:
jsonlogic– a condition over the iFlow’s elements (scope: "element") or the whole iFlow (scope: "iflow"), withwhen(which elements) andviolation(when it is a finding). Every element providesid,name,type,kind,inErrorHandler,propertiesandiflow. A fixed set of operators is allowed (comparisons,and/or,in,startsWith,match,lowerand more); code is never executed.xpath– an XPath expression on the raw.iflwfile; every match is a finding.
{
"id": "X-01", "kind": "jsonlogic", "title": "No HTTP without TLS", "severity": "high", "scope": "element",
"when": { "==": [{ "var": "kind" }, "adapter"] },
"violation": { "startsWith": [{ "lower": [{ "var": "properties.address" }] }, "http://"] },
"message": "Adapter calls an unencrypted address",
"fix": "Use https or go through the Cloud Connector with TLS"
}
In Policy Studio you write such rules with a form in the Custom rules step (+ Condition rule, + XPath rule, From template) and check them with Live-Test on the open iFlow.
Policy Studio
Policy Studio (More menu › Security & governance, or Team policy card › Open Policy Studio) builds a policy without JSON. The draft is saved locally.
- Start: pick a template – Blank, Production (strict), Development team or Review gate – or begin with Load active policy, Use my settings or Open file ….
- General: Name, Issued on, Valid until (optional), read-only Default or Enforced, Minimum health score.
- Rules: switch rules on and off and re-rate them; only changed shows your deviations.
- Naming: set the binding naming standard.
- Write actions: block single actions or Block all write actions.
- AI: Allowed, Blocked or Not set; allowed endpoints and Masking before sending is mandatory.
- Add Custom rules and Accepted risks.
- Result & export: Download policy.json, create ready-made files for browser management under Distribute, or take the signing command with Copy command.

At the top, the studio shows whether the policy is valid or how many problems it has. The Trial run card uses Test on “…” to calculate how the health score of the open iFlow changes with the policy (“Health Score … → …”).
Signed policies
A policy from a file or URL must be signed, so that nobody can change it locally unnoticed. The file then has the form { "policy": { … }, "signature": "…", "kid": "…" }: an Ed25519 signature over the canonical JSON of the policy (sorted keys). Signing happens outside the browser with the script from the iFlowTailor repository:
node scripts/license/sign-policy.mjs --key <private.jwk> --policy policy.json > policy.signed.json
iFlowTailor checks the signature against the public keys built into the extension (the same key list as for licences). The private key never belongs in a repository or in the browser.
When a policy is rejected
The card then shows “Policy (…) rejected: …” with the reason:
| Message | Cause |
|---|---|
| “Policy is not signed” | File or URL without signature. |
| “Invalid signature or unknown key” | The policy was changed after signing, or the extension does not know the key. |
| “Policy expired on …” | expiresAt is in the past. |
| “Unknown policy version”, “Policy without name”, “AI endpoint … must use https” … | A field is invalid; the message names it. |
| “https only”, “Access to the host not allowed”, “File is not JSON: …” | Error while loading from a URL or file. |
See also
- Features at a glance Features · Security & governance
- On the website Rollout and team policy for corporate IT
- Docs Rollout in the company
- Docs Security & governance
- Docs Review
- Docs Settings and audit log
- Sources policy.ts1 · docs/enterprise/rollout.md2