From ca63d279d72fc026150521de1a88895f16dab5f1 Mon Sep 17 00:00:00 2001 From: Laura Beatris <48022589+LauraBeatris@users.noreply.github.com> Date: Thu, 19 Dec 2024 14:59:20 -0300 Subject: [PATCH] Add changeset --- .changeset/fair-bobcats-pull.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .changeset/fair-bobcats-pull.md diff --git a/.changeset/fair-bobcats-pull.md b/.changeset/fair-bobcats-pull.md new file mode 100644 index 0000000000..aa766d6104 --- /dev/null +++ b/.changeset/fair-bobcats-pull.md @@ -0,0 +1,8 @@ +--- +'@clerk/backend': patch +'@clerk/types': patch +--- + +Add type-level validation to prevent server-side usage of system permissions + +System permissions (e.g., `org:sys_domains:manage`) are intentionally excluded from session claims to maintain reasonable JWT sizes. For more information, refer to our docs: https://clerk.com/docs/organizations/roles-permissions#system-permissions