When this decision has to be made
You must make this decision when:
- Your team needs multi-role collaboration
- Your knowledge base includes content with varying sensitivity levels
- You need to split access permissions by project or department
When your team scales to cross-departmental work, or your knowledge base gains more files and requires differentiated access, unplanned permission granularity leads to permission chaos or sensitive data leaks. Making this decision too early adds unnecessary configuration costs, system performance overhead, and operational strain, especially for small teams with simple permission needs. Making it too late forces you to rebuild your existing permission system later, with high costs including data migration, authentication logic updates, and disruption to current business workflows. You also need to finalize permission granularity if only some files in a single knowledge base require access for specific team members.
Criteria matrix
| Candidate | Permission Granularity Coverage | Configuration Complexity | System Performance Impact | Retrieval Recall Filter Scope | Collaborator Configuration Flexibility | Sensitive Data Governance Capability | Permission Inheritance and Sync Characteristics |
|---|---|---|---|---|---|---|---|
| Option 1: Pure Knowledge Base-Level Permissions (Collection Permission Toggle Disabled) | Covers only the entire knowledge base; cannot configure access permissions for individual files or folders | Low; only requires configuring knowledge base-level collaborators | No additional overhead; permission-related operations run at normal speed | Filters by overall knowledge base permissions; all files are uniformly visible or hidden | Only supports full knowledge base-level configuration; no fine-grained adjustment capabilities | Weak; cannot distinguish access permissions for different files within the same knowledge base | No separate configuration; all files directly inherit knowledge base permissions |
| Option 2: Enable Collection Permissions, Use Only Inherited State Configuration | Supports file/folder inheritance of knowledge base permissions; can convert specified nodes to independent state | Medium; requires separate operations for nodes needing independent configuration | Requires maintaining permission snapshots; permission-related operations may slow down | With current-member authorization, filters by Dataset permissions and inherited file permissions. Without it, a workflow that preselects Datasets applies only Dataset-level permissions, not per-file filtering. | Supports bulk sync for inherited state; independent state requires separate configuration | Medium; can set separate permissions for specified sensitive files/folders | Inherited state automatically follows knowledge base permission changes; independent state does not follow parent permissions |
| Option 3: Enable Collection Permissions, Set Some Files/Folders to Independent State | Supports configuring independent state permissions for some sensitive files/folders; remaining files inherit knowledge base permissions | Low-medium; only performs independent configuration for sensitive files/folders | Enabling this generates permission snapshots for each file/folder; permission-related operations may slow down | With current-member authorization, sensitive files use independent permissions and others inherit Dataset permissions. Without it, a workflow that preselects Datasets applies no per-file filter. | Supports bulk sync for inherited state + separate configuration for independent state; balances efficiency and flexibility | Strong; can precisely control access scope for sensitive files | Sensitive files in independent state do not follow parent permissions; remaining files automatically inherit knowledge base permission changes |
| Option 4: Enable Collection Permissions, Set All Files/Folders to Independent State | All files/folders use independent state permissions and do not inherit knowledge base permissions | High; requires separate permission configuration for each file/folder | Enabling this generates permission snapshots for each file/folder; permission-related operations may slow down | With current-member authorization, filters by each file/folder’s independent permissions. Without it, a workflow that preselects Datasets applies no per-file filter. | Supports fully customizing collaborator permissions for every file/folder | Strong; enables differentiated access control for all files within a single knowledge base | All files/folders do not follow knowledge base permission changes; each node’s permissions require manual adjustment |
| Option 5: Enable Collection Permissions, Configure by Member Group or Organization | Supports selecting members, member groups, or organizations as collaborators, combined with inheritance and independent states | Medium; bulk configuration reduces per-file operation volume | Enabling collection permissions materializes permission snapshots for all files/folders, and permission-related operations may slow down; assess the impact against total collection size and deployment load | With current-member authorization, applies bulk-configured and individual file permissions. Without it, a workflow that preselects Datasets applies no per-file filter. | Supports bulk configuration of collaborator permissions; no need for per-user adjustments | Strong; can govern access to sensitive files by team dimension | Inherited state automatically follows knowledge base permission changes; independent state does not follow; bulk configuration takes effect synchronously |
Why each criterion matters
Permission Granularity Coverage
This criterion determines the precision of access control. When your team needs multi-role collaboration, or your knowledge base includes content with varying sensitivity levels, insufficient granularity prevents precise access control. For example, your research and development team needs access to technical documents, while your customer success team only needs access to customer case documents. Using only knowledge base-level permissions forces you to either open all documents to all collaborators or block all access, which fails to meet differentiated needs. Finer-grained collection permissions enable differentiated access control for different files within the same knowledge base, avoiding over-authorization or insufficient permissions.
Configuration Complexity
This criterion affects the configuration and learning costs for your operations team. Higher-complexity solutions require more time for permission setup and ongoing maintenance. This workload rises sharply as the number of files in your knowledge base increases. Lower-complexity solutions reduce operational strain, making them ideal for scenarios with simple permission needs.
System Performance Impact
This criterion ties to system operational efficiency. Enabling collection permissions materializes and maintains permission snapshots. Permission-related operations may slow down, especially when snapshots are materialized for large Datasets; the effect depends on file count and deployment load. Do not assume retrieval or list responses are slower without measuring the deployment.
Retrieval Recall Filter Scope
This criterion determines the security and precision of search results. Collection-permission filtering applies when search authorization uses the current member identity: Dataset search then includes only files that member can read. The documented coverage includes Workflow/Agent Dataset search nodes and the Dataset search test. A Workflow that preselects Datasets without member-identity authorization does not perform per-file filtering; recall follows Dataset-level permissions instead. For sensitive data, test with different member accounts through the actual authorization path you deploy, and do not assume unverified entry points apply per-file permissions.
Collaborator Configuration Flexibility
This criterion affects the efficiency of bulk permission management. When your team has many collaborators requiring identical permissions, flexible configuration reduces repetitive work and boosts operational efficiency. For example, configuring permissions via member groups or organizations eliminates the need to adjust individual file permissions for each user, making it ideal for cross-departmental collaboration scenarios.
Sensitive Data Governance Capability
This criterion determines how well you protect sensitive data. For knowledge bases containing customer privacy, financial data, internal confidential information, or other sensitive content, you need precise control over access to sensitive files. Insufficient governance capability risks sensitive data leaks, leading to compliance risks and business losses. Finer-grained permission granularity enables separate authorization for sensitive files, allowing only specified roles or collaborators to access them.
Permission Inheritance and Sync Characteristics
This criterion affects ongoing permission maintenance costs. Inherited state configurations reduce manual adjustment work: when knowledge base permissions change, inherited files automatically update to match the parent permissions, eliminating the need for individual edits. Independent state configurations require manual adjustments for each node, making them suitable for sensitive files that need fixed access permissions, but they carry higher ongoing maintenance costs. Combining inherited and independent states appropriately balances efficiency and flexibility.
The cost of switching later
Switching from your chosen permission scheme to another carries multi-dimensional costs. Switching from pure knowledge base-level permissions to enabled collection permissions requires materializing permission snapshots for all files and folders. This process runs synchronously, and it takes longer for large file counts. It also creates additional permission snapshot data that uses storage resources. Permission-related operations may slow down; the impact depends on Dataset size and deployment load. Switching back from enabled collection permissions to pure knowledge base-level permissions deletes all collaborator configurations for files and folders under that knowledge base. This action is irreversible, and all files revert to inheriting knowledge base permissions. All prior independent configurations are lost. Switching from some independent state to full independent state requires configuring permissions for each file and folder individually. The workload increases as the number of files rises. Switching from a member group or organization configuration scheme to pure knowledge base-level permissions requires cleaning up all bulk-configured collaborator permissions and adjusting the knowledge base-level collaborator list. This involves significant validation work. Before and after switching, verify retrieval results with different member accounts through the actual authorization path you deploy. Per-file search filtering applies only when authorization uses the current member identity; a Workflow that preselects Datasets without member-identity authorization does not filter files individually and follows Dataset-level permissions.
When this decision can wait
You can delay this decision in the following scenarios: File-level knowledge base permissions are a commercial-only feature, so this decision does not apply to community edition deployments. If your team is small, your knowledge base has few files, and all collaborators need access to the entire knowledge base, you can avoid enabling collection permissions. Sticking to default knowledge base-level permissions adds no extra configuration or performance overhead. If all content in your knowledge base is non-sensitive and has no differentiated access needs, you can wait until your team scales or data sensitivity increases before adjusting permissions. If your team has not yet finalized its basic team role and collaborator system, focus on core permission configuration first. You can delay choosing collection permissions until your team’s permission framework stabilizes. If your system is undergoing version upgrades or data migrations, avoid introducing new permission logic to reduce risk. Maintain your current permission status until the system stabilizes. If your business workflows have low requirements for permission control accuracy, and you have no need to restrict access to specific files for specific members, you can put this decision on hold temporarily.
Keep reading
- Where Custom Code Runs: the Code Node or the Agent VM, and Which Sandbox Backs the VM
- Connecting a Bot to Chat Apps: WeCom, Feishu, DingTalk, Official Accounts and Personal WeChat
References
Next steps
The criteria above can be checked against public documentation and a test deployment. To decide against a specific workload, data boundary and operations setup, contact sales for an assessment; the cloud service can be used first to validate feasibility before choosing a deployment form.
- Contact sales: assess the choice against your conditions
- Get started: validate feasibility on the cloud service
- Pricing: compare what each form covers