Skip to content

프로필 화면 로그인 이력·보안 정보·알림 설정 하드코딩 제거 #173

Description

@BcKmini

ProfilePage(client)에 표시되는 마지막 로그인 시각/기기, 계정 상태, 비밀번호
변경일, 알림 수신 설정이 client의 profileData.ts 고정값이었다. #168(표시
이름/연락처)에서 실 API로 바꾼 것과 같은 방식으로 나머지도 실데이터화한다.

  • user_login_event 테이블 신설, 로그인 성공 시 User-Agent 기반 기기 요약과
    함께 기록. GET /auth/me/profile이 role/account_status/password_changed_at/
    last_login_at/last_login_device/recent_device_count를 반환.
  • user_account.password_changed_at 컬럼 추가, changePassword()에서 갱신.
  • notification_preference 테이블 + GET/PATCH /notifications/preferences 신설.

"담당 업무 영역"·"문서 열람 범위"처럼 서버에 대응 개념이 아예 없는 항목은
새로 만들지 않고, client에서 화면에서 제거한다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions