diff --git a/src/servers/hono.ts b/src/servers/hono.ts index d75a9cf3..f33bd83d 100644 --- a/src/servers/hono.ts +++ b/src/servers/hono.ts @@ -10,7 +10,6 @@ import { themeFavoritesRouter } from './api/themes/favorites'; import { waitlistRouter } from './api/waitlist/waitlist'; import { usersRouter } from './api/users/users-router'; import { rolesRouter } from './api/roles/router'; -import { todosRouter } from './api/todos/router'; import { apiKeysRouter } from './api/api-keys/router'; import { skillsRouter } from './api/skills/skills'; import { tasksRouter } from './api/tasks/tasks'; @@ -131,7 +130,6 @@ const PROTECTED_MOUNTS: [prefix: string, router: ReturnType ['/theme-favorites', themeFavoritesRouter], ['/users', usersRouter], ['/roles', rolesRouter], - ['/todos', todosRouter], ['/skills', skillsRouter], ['/tasks', tasksRouter], ['/agents', agentsRouter], diff --git a/src/servers/permissions/registry.ts b/src/servers/permissions/registry.ts index 7494b88c..d2b0ae14 100644 --- a/src/servers/permissions/registry.ts +++ b/src/servers/permissions/registry.ts @@ -435,17 +435,6 @@ const CORE_REGISTRY: Permission[] = [ // is a real route — a client-side redirect still has to resolve before it can send anyone anywhere. routes: ['/marketplace', '/plugins'], }, - { - key: 'todos', - label: 'Todo board', - description: "The platform's own backlog — todo/ in the repo, browsed and edited at /todos", - // Admin because the subject is the platform's development, not the account's data: the tree lives in - // the server's own checkout and a write is a git-visible edit to it. The router double-gates on - // isSuperAdmin, same belt-and-braces as the rest of this kind. - kind: 'admin', - api: ['/todos'], - routes: ['/todos'], - }, { key: 'server-admin', label: 'Server settings', diff --git a/src/workspaces/officerdev/src/AppRegistry/AppRegistry.tsx b/src/workspaces/officerdev/src/AppRegistry/AppRegistry.tsx index 5709525b..4be85b14 100644 --- a/src/workspaces/officerdev/src/AppRegistry/AppRegistry.tsx +++ b/src/workspaces/officerdev/src/AppRegistry/AppRegistry.tsx @@ -13,7 +13,6 @@ import { appRegistryMetas as monitorMetas } from '../apps/SystemMonitor'; import { appRegistryMetas as qrTransferMetas } from '../apps/QrTransfer'; import { appRegistryMetas as sendOffMetas } from '../apps/SendOff'; import { appRegistryMetas as commandHqMetas } from '../apps/CommandHQ'; -import { appRegistryMetas as todoBoardMetas } from '../apps/TodoBoard'; import type { QueryClient } from '@tanstack/react-query'; import { globalQueryKey } from 'hooks/useGlobal'; import { metasToRegistry } from './useAppRegistry'; @@ -31,7 +30,6 @@ export const apps = [ ...qrTransferMetas, ...sendOffMetas, ...commandHqMetas, - ...todoBoardMetas, ...appStoreMetas, ...pluginsMetas, ];