Area: UI Issues
Sub-Area: AI Feature Visibility and Navigation Controls
Applies to: Cloud
Issue
You want to hide the Agents and Evals items in the left sidebar of DataHub Cloud, but keep Context Feedback available for the people who review it. Each of these items depends on two things: a feature flag on your instance and a platform privilege on the user.
You Might Be Asking
- How do I hide Agents and Evals from the sidebar?
- Which settings control Agents, Evals and Context Feedback?
- Does hiding Evals also hide Context Feedback or Context Documents?
- Who can see the Feedback page, and how do I control that?
- Can I hide Agents and Evals with permissions only?
Cause
The sidebar shows each item only when its feature flag is on and the user holds the matching privilege:
| Sidebar item | Feature flag (default) | Privilege needed |
|---|---|---|
| Agents |
AI_AGENTS_ENABLED (off) |
Manage Agents |
| Evals |
SHOW_CONTEXT_HUB (off) |
Manage Evals or Manage Agents |
| Feedback |
SHOW_CONTEXT_FEEDBACK (off) |
Manage Context Feedback |
Some more details:
- Evals counts as visible for anyone with Manage Evals or Manage Agents. DataHub accepts Manage Agents for evals for backwards compatibility.
- When Evals and Feedback are both visible, the sidebar shows one Validation item with an Evals tab and a Feedback tab. When only one of them is visible, the sidebar shows it as its own Evals or Feedback item. There is no Validation item when Evals is hidden.
- The Evals tab on an agent's detail page has its own flag,
AI_AGENT_EVALS_ENABLED. It is on by default. -
SHOW_CONTEXT_HUBalso shows the Context page under Settings > Platform, and it turns on document change proposals. - The flags hide sidebar items only. The Agents, Evals and Feedback pages check the user's privilege themselves. A user without the privilege gets a "page not found" screen. The Feedback page also needs
SHOW_CONTEXT_FEEDBACKto be on. - The built-in Admins - Platform Policy grants Manage Agents, Manage Evals and Manage Context Feedback to the Admin role. The built-in Editors - Platform Policy grants Manage Evals and Manage Context Feedback to the Editor role. The Readers - Platform Policy grants none of them.
Solution
Check which flags are on
Run this read-only query in GraphiQL (https://<your-instance>/api/graphiql). Any logged-in user can run it:
query {
appConfig {
featureFlags {
aiAgentsEnabled
showContextHub
showContextFeedback
aiAgentEvalsEnabled
}
}
}
Option 1: Turn off the flags for the whole instance
You can't change these flags yourself on DataHub Cloud. Contact DataHub Support and ask them to change them for your instance:
-
AI_AGENTS_ENABLED=falsehides Agents. -
SHOW_CONTEXT_HUB=falsehides Evals and the Context settings page. -
AI_AGENT_EVALS_ENABLED=falsehides the Evals tab on agent detail pages. -
SHOW_CONTEXT_FEEDBACK=trueshows Feedback, if you want to keep it.
These flags change the sidebar for every user, Admins and Editors included. They don't take away anyone's access to the pages themselves. To control who can open those pages, use Option 2.
Option 2: Remove privileges from users
A user sees an item only while some active policy grants them its privilege:
- To hide Agents, the user must not get Manage Agents from any policy.
- To hide Evals, the user must not get Manage Evals or Manage Agents from any policy. Removing Manage Evals alone doesn't hide Evals from a user who still has Manage Agents.
Where the privilege comes from decides what you can change. See the Policies Guide.
- Custom policies you created: go to Settings > Permissions, then edit the policy and remove the privilege, or deactivate the policy.
- The built-in Admins and Editors platform policies: you can't change these. They are system policies. In Settings > Permissions their action menu is disabled with the message "This is a system policy and cannot be modified". To take the privileges away from these users, change their role under Settings > Users & Groups > Users. See Roles. An Admin moved to Editor loses Manage Agents but keeps Manage Evals. A user moved to Reader loses all three privileges, and also loses the right to edit metadata. Grant back what they still need through a custom policy.
If changing roles doesn't work for your team, use Option 1.
Keep Context Feedback on
Hiding Agents and Evals doesn't affect Feedback. To make Feedback show up:
- If your
showContextFeedbackquery result isfalse, contact DataHub Support and ask them to turn onSHOW_CONTEXT_FEEDBACKfor your instance. The privilege alone doesn't show Feedback. - Make sure your reviewers hold Manage Context Feedback. Admins and Editors have it by default. Readers don't. To give it to more people, add it to a custom platform policy under Settings > Permissions.
- Make sure gap reporting is on under Settings > AI. That toggle, Metadata Gap Reporting Tool, controls whether AI assistants and MCP clients can report gaps at all. It doesn't make the Feedback item appear. See Context Feedback.
With Evals hidden, open Feedback from its own Feedback item in the sidebar. The Context Feedback guide says notes appear under Validation > Feedback. That path exists only when Evals is also visible to the user.
Context Documents
None of these settings remove Context Documents. Documents has its own setting, and it is on by default.