Add per-user font management permission (#2210)

Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
ACX
2026-01-08 19:19:14 -07:00
committed by GitHub
co-authored by acx10
parent 9877182b67
commit 15007143f9
25 changed files with 204 additions and 74 deletions
@@ -0,0 +1,8 @@
ALTER TABLE user_permissions
ADD COLUMN IF NOT EXISTS permission_manage_fonts BOOLEAN NOT NULL DEFAULT FALSE;
-- Set all new permissions to TRUE for admin users
UPDATE user_permissions up
SET up.permission_manage_fonts = TRUE
WHERE up.permission_admin = TRUE;