Commit Graph

5 Commits

Author SHA1 Message Date
94453ccdae refactor(env): PostgreSQL 설정을 PG_DB_* 변수로 통일(DB_* 레거시 호환 유지)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 15:23:17 +09:00
dosangyoon
899cdf14d0 feat(auth): expose ADMIN_EMAILS via /api/config/auth and grant SPA admin when email matches
Made-with: Cursor
2026-03-23 10:31:15 +09:00
dosangyoon
ea104aef6e fix(auth): honor ADMIN_EMAILS with robust email merge and JWT bootstrap for admin checks
Made-with: Cursor
2026-03-23 10:27:59 +09:00
dsyoon
c21a7b3739 DB 기반 관리자 권한으로 전환
- ncue_user에 is_admin 추가 및 can_manage 호환 유지
- /api/auth/sync 및 관리 API를 DB is_admin 기반으로 변경
- index.html 폴백에서 관리자 이메일 하드코딩 제거
- .env로 관리자 부트스트랩(ADMIN_EMAILS) 지원

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-25 21:09:02 +09:00
19c6814d2f Initial commit after re-install 2026-02-25 19:13:29 +09:00