Files
SnapOtter/packages/shared/src/permissions.ts
T
SnapOtter 16af9c573a feat: remove app name and logo customization feature
Users can no longer customize the app name or logo. The branding API
endpoints, permission, frontend UI, env vars (APP_NAME, MAX_LOGO_SIZE_KB),
and all related tests are removed. Includes a migration to clean up
branding data from existing databases.
2026-05-07 19:41:30 +08:00

18 lines
337 B
TypeScript

export type Permission =
| "tools:use"
| "files:own"
| "files:all"
| "apikeys:own"
| "apikeys:all"
| "pipelines:own"
| "pipelines:all"
| "settings:read"
| "settings:write"
| "users:manage"
| "teams:manage"
| "features:manage"
| "system:health"
| "audit:read";
export type Role = "admin" | "editor" | "user";