feat(forms): per-member 'Forms submitted' view on the members page

listMemberSubmissions (forms.manage, RLS-honoring, metadata only) + a
FORMS column/button -> MemberFormsDialog listing the member's
submissions (title, kind, version, date) with a link to the audited
forms results surface. Gated by forms.manage (matches existing
submission-read RLS; no new exposure).
This commit is contained in:
Moheeb Zara
2026-05-16 23:50:52 -07:00
parent 832a0aeba2
commit ed8d629472
5 changed files with 162 additions and 2 deletions
+4
View File
@@ -673,6 +673,10 @@ export const linkSubmissionsSchema = z.object({
email: emailField(),
})
export const memberSubmissionsSchema = z.object({
memberId: z.string().uuid('Invalid member ID'),
})
export const getPublicFormSchema = z.object({
space: z.string().min(1).max(100),
slug: formSlug,