Three-Tier Policies | LanMate User Guide
Using the Qianxin edition of LanMate?View Qianxin Edition User Guide

Policy Configuration

Policy Model

Policies are distributed across three tiers (organization → department chain → user). The core principle: grants go by exception, security only tightens.

Default Stance and Exceptions

Dimension Default Description
models allow Everything available by default; narrow with deny
skills allow Everything available by default
plugins allow Everything available by default
experts allow Everything available by default
apiKeys deny Organization-built keys are only distributed when explicitly allowed
connectors deny Official/organization connectors must be explicitly allowed
upstream On Organization upstream master gate: once off, official providers are all unavailable
sandbox (cloud sandbox) allow Authorization-type cloud control: allowed by default; the organization can turn it off, and departments/users can open exceptions with more specific overrides (see below)

Cloud Sandbox Switch

The “Sandbox” card in policy configuration is a toggle-style cloud control that decides whether clients may use cloud execution:

See Cloud for detailed behavior.

Connector Policy Dimensions

Sub-dimension Description
official Allow/deny official connectors
org Allow/deny organization-private connectors
allowLocalCustom Allow users to build local custom connectors
allowUnsignedPackage Allow importing unsigned offline packages
tools.enabled Master switch for connector tools
tools.write Write-operation level
tools.highRisk High-risk tool level

Merge Rules

Merge order: organization → department chain (root → leaf) → user.

Unconfigured = Everything Open

With no policy configured: models, skills, plugins, and experts are all available; apiKeys and connectors deny by default (they must be explicitly allowed to be distributed).

Reference Format

Final Policy Preview per User

The admin console provides a final policy preview for a selected user: the merged result plus the actual list of available models/skills/plugins.

Policy Validation