ghostguild-org/tests/server
Jennie Robinson Faber 0981596ea2 feat(admin): PATCH /api/admin/members/:id/slack-status
Endpoint that flips a member's slackInvited flag manually after the
admin has actually sent the Slack invitation through Slack's UI. No
Slack API call is made from this app.

- Body validated via Zod literal-true schema (no undo path for the
  pilot — admins correct mistakes in the database if needed).
- Idempotent: re-marking an already-invited member is a no-op,
  preserving the original slackInvitedAt and not duplicating the
  activity log entry.
- Activity log: slack_invited_manually, actor = admin from
  requireAdmin, subject = the target member.
2026-04-29 12:23:07 +01:00
..
api feat(admin): PATCH /api/admin/members/:id/slack-status 2026-04-29 12:23:07 +01:00
config feat(launch): security and correctness fixes for 2026-05-01 launch 2026-04-25 18:42:36 +01:00
helpers Add Vitest security test suite and update security evaluation doc 2026-03-01 12:30:06 +00:00
middleware refactor(rate-limit): delegate auth limiting to handlers, add dev bypass 2026-04-27 19:18:34 +01:00
models feat(slack): autoFlagPreExistingSlackAccess helper 2026-04-29 12:13:59 +01:00
tasks feat(slack): add background job to detect Slack workspace joins 2026-04-09 22:32:48 +01:00
utils feat(slack): autoFlagPreExistingSlackAccess helper 2026-04-29 12:13:59 +01:00
setup.js feat(activation): wire autoFlagPreExistingSlackAccess into self-serve paths 2026-04-29 12:21:12 +01:00