Changeset 0.27.2 (#169)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
const ADMIN_SECTIONS = {
|
||||
people: ['users', 'teams', 'groups'],
|
||||
ai: ['providers', 'models', 'personas', 'roles', 'knowledgeBases', 'memory'],
|
||||
workflows: ['workflows'],
|
||||
workflows: ['workflows', 'tasks'],
|
||||
routing: ['health', 'routing', 'capabilities'],
|
||||
system: ['settings', 'storage', 'extensions', 'channels', 'surfaces'],
|
||||
monitoring: ['usage', 'audit', 'stats'],
|
||||
@@ -18,7 +18,7 @@ const ADMIN_LABELS = {
|
||||
users: 'Users', teams: 'Teams', groups: 'Groups',
|
||||
providers: 'Providers', models: 'Models', personas: 'Personas', roles: 'Roles', knowledgeBases: 'Knowledge', memory: 'Memory',
|
||||
health: 'Health', routing: 'Routing', capabilities: 'Capabilities',
|
||||
workflows: 'Workflows',
|
||||
workflows: 'Workflows', tasks: 'Tasks',
|
||||
settings: 'Settings', storage: 'Storage', extensions: 'Extensions', channels: 'Channels', surfaces: 'Surfaces',
|
||||
usage: 'Usage', audit: 'Audit', stats: 'Stats',
|
||||
};
|
||||
@@ -52,6 +52,7 @@ const ADMIN_LOADERS = {
|
||||
stats: () => UI.loadAdminStats(),
|
||||
channels: () => UI.loadAdminChannels(),
|
||||
workflows: () => typeof _loadAdminWorkflows === 'function' ? _loadAdminWorkflows() : null,
|
||||
tasks: () => typeof _loadAdminTasks === 'function' ? _loadAdminTasks() : null,
|
||||
};
|
||||
|
||||
// Find which category a section belongs to
|
||||
@@ -924,6 +925,8 @@ Object.assign(UI, {
|
||||
'persona.create': 'Create personas',
|
||||
'persona.manage': 'Edit / delete team personas',
|
||||
'workflow.create': 'Create workflows',
|
||||
'task.create': 'Create scheduled tasks',
|
||||
'task.admin': 'Manage all tasks + config',
|
||||
'admin.view': 'Read-only admin access',
|
||||
'token.unlimited': 'Bypass token budgets',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user