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.
This commit is contained in:
SnapOtter
2026-05-07 19:41:30 +08:00
parent 25a1dd7aba
commit 16af9c573a
29 changed files with 52 additions and 977 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import { describe, expect, it } from "vitest";
import { getPermissions, hasPermission } from "../../../apps/api/src/permissions.js";
describe("role permissions", () => {
it("admin has all 15 permissions", () => {
it("admin has all 14 permissions", () => {
const perms = getPermissions("admin");
expect(perms).toContain("tools:use");
expect(perms).toContain("files:all");
@@ -10,7 +10,7 @@ describe("role permissions", () => {
expect(perms).toContain("features:manage");
expect(perms).toContain("system:health");
expect(perms).toContain("audit:read");
expect(perms.length).toBe(15);
expect(perms.length).toBe(14);
});
it("editor has collaborative but not admin permissions", () => {