In this article
Turning off a knowledge access switch affects particular consumers; document the intended audience and test the matching connection path.
Start from the consumer being restricted
A team wants to stop an experimental workflow from reading a knowledge base while preserving a support Agent’s access. “Disable knowledge” is too vague for this task. Dify Agent Knowledge Base exposes distinct access surfaces. Identify the actual consumer and desired result before using a setting whose name sounds like a universal shutdown.
Understand Workflow access
The connection guide says disabling Workflow access stops workflows, including test runs, from searching the base. Existing workflows fail at the retrieval node until access is restored. The node reference also ties knowledge selection to the builder’s viewing permission. Separate whether a collection appears during editing from whether a configured workflow can execute it later.
Understand API access and the new Agent
The same connection guide says API access controls the Service API and published new Agents. An Agent can keep running while losing the ability to search that knowledge base. That differs from a workflow stopping at a failed node. When verifying a restriction, inspect whether search actually occurred; the Agent continuing to produce prose does not prove it retained the source or obtained equivalent evidence elsewhere.
Keep account-based reading distinct
The documented CLI route lets a coding agent browse and read documents that the signed-in user can view. It is read-only and uses the selected Dify workspace; semantic search is a separate Service API path. Do not describe a developer API switch as proven universal revocation of every account-based reading route. Review the relevant account, resource permission, and selected workspace for the path actually used.
Review resource permissions explicitly
The creation guide includes who may view the knowledge base and connect it to apps. Those audience choices belong alongside connection switches in an access inventory. A familiar application name is insufficient: record which base identifier and consumer path it uses. The task-contract approach makes a restriction reviewable by specifying the actor, resource, and permitted outcome.
Verify both restriction and remaining function
For an authorized operational change, test the intended blocked route and a route meant to remain usable. Check source-specific behavior as well as interface availability. Tool observations distinguish a running application from successful knowledge access. This article maps current Cloud documentation; it does not change permissions or claim that a single toggle covers every product surface.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.