fix(housekeeping): harden system workflow boundaries

This commit is contained in:
2026-08-29 00:25:47 +02:00
parent 3788ecd9f1
commit c325c53774
18 changed files with 809 additions and 79 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ async function runAccessMutation(
if (result.error.messageKey === "errors.housekeeping.system.roleNotFound") {
throw new ActionError("Role not found");
}
throw new ActionError(result.error.messageKey);
throw new Error(result.error.messageKey);
}
const createRankSchema = z.object({