fix: update agent permission check logic in AgentPanel to simplify condition

This commit is contained in:
Atef Bellaaj 2025-06-23 13:39:50 +02:00 committed by Danny Avila
parent 8ea2329cff
commit 7d8a29a7b4
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
3 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,7 @@
jest.mock('~/models', () => ({
initializeRoles: jest.fn(),
seedDefaultRoles: jest.fn(),
ensureDefaultCategories: jest.fn(),
}));
jest.mock('~/models/Role', () => ({
updateAccessPermissions: jest.fn(),