feat(rbac): agent RBAC/ACL scenes and resource-locator check bundles (#41768)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Xiyuan Chenandautofix-ci[bot] authored and GitHub committed 2026-09-07 04:39:43 +00:00
1 parent 60e983c493
commit 86134ea99e
152 files changed
+5360 -3405

No files matched your search

@@ -63,7 +63,7 @@ describe('AgentSelectorContent', () => {
mocks.agents = []
})
it('offers the Agent Console link with agent.manage', async () => {
it('offers the Agent Console link with agent.acl.preview', async () => {
await renderSelector({ onStartFromScratch: vi.fn() })
const listbox = screen.getByRole('listbox')
@@ -99,7 +99,7 @@ describe('AgentSelectorContent', () => {
expect(listbox.querySelector('.overflow-y-auto')).not.toBeInTheDocument()
})
it('hides the Agent Console link without agent.manage', async () => {
it('hides the Agent Console link without agent.acl.preview', async () => {
mocks.canManageAgents = false
await renderSelector()
@@ -107,7 +107,7 @@ describe('AgentSelectorContent', () => {
expect(screen.queryByText(manageInConsoleLabel)).not.toBeInTheDocument()
})
it('keeps start from scratch without agent.manage', async () => {
it('keeps start from scratch without agent.acl.preview', async () => {
mocks.canManageAgents = false
await renderSelector({ onStartFromScratch: vi.fn() })