security: restrict user email visibility #17

Merged
codinget merged 1 commits from t3code/close-issue-fourteen into master 2026-07-23 23:18:59 +02:00
Owner

Summary

  • strip email addresses from user list/detail responses unless the caller is self or an unrestricted global admin
  • make email lookup global-admin-only to remove the account-enumeration oracle
  • allow global and abode admins to see full co-resident records while preserving self visibility

Verification

  • npm run format:check
  • npm run typecheck
  • npm run typecheck:test
  • npm run lint
  • npm test (255 tests pass)

Closes #14

## Summary - strip email addresses from user list/detail responses unless the caller is self or an unrestricted global admin - make email lookup global-admin-only to remove the account-enumeration oracle - allow global and abode admins to see full co-resident records while preserving self visibility ## Verification - `npm run format:check` - `npm run typecheck` - `npm run typecheck:test` - `npm run lint` - `npm test` (255 tests pass) Closes #14
codinget added the Kind/Security
Priority
High
2
Agentic
Agent
gpt-5.6-sol
labels 2026-07-23 20:50:29 +02:00
codinget added 1 commit 2026-07-23 20:50:29 +02:00
fix: restrict user email visibility
CI / lint (pull_request) Successful in 32s
CI / format (pull_request) Successful in 33s
CI / install-and-build (pull_request) Successful in 1m9s
CI / typecheck-tests (pull_request) Successful in 28s
CI / typecheck-source (pull_request) Successful in 28s
CI / test (pull_request) Successful in 39s
a1992eb57a
Co-Authored-By: gpt-5.6-sol <noreply@openai.com>
codinget merged commit 0355bd0b2e into master 2026-07-23 23:18:59 +02:00
codinget deleted branch t3code/close-issue-fourteen 2026-07-23 23:18:59 +02:00
Sign in to join this conversation.