261022_04_ENH: 프로젝트 제목 코드·명 병행 표기 및 URL 파라미터 프로젝트 선택 제거
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
- New backend only; development front 4014/backend 4015/api/v1. Use published @kri/common HTTP and persistent hydratedAtom plus TanStack Query; do not add axios or duplicate common storage/auth helpers. Repository package.json and lockfile are authoritative for versions. Add dependencies only after user approval; preserve existing chart, drag-and-drop and registry integrations.
|
||||
- Next stores the 24-hour token in an HttpOnly cookie and returns validated LoginUser only. Secure for ENV prod/production. Backend logout/session endpoints do not exist: Next logout clears its cookie, client auth and query cache. BFF accepts only fixed implemented project reads and whitelisted query fields; never trust browser role/id headers or send API keys to the browser.
|
||||
- Basic routes are /, /login, /logout and project pages without query parameters (/Report/Current, /Report/Quota, /Report/Tabulation, /Report/Crosstab, /Management/Derived, /Management/Exim). The selected project {projectType, pkey} lives in the user-scoped persistent atom `useSelectedProject` (localStorage, like legacy ptokenState); home, login and logout clear it, and old `?projectType=0|1&pkey=rawKey` links are stored and stripped. Preserve pkey case and use projectType+pkey in query keys and BFF paths, with current user id/role/team in query keys. Runtime-validate data, use existing UI components, retain raw server count/LOI semantics and display-only padded date cleanup. Keep loading/error/empty/retry states.
|
||||
- Basic routes are /, /login, /logout and project pages without query parameters (/Report/Current, /Report/Quota, /Report/Tabulation, /Report/Crosstab, /Management/Derived, /Management/Exim). The selected project {projectType, pkey} lives in the user-scoped persistent atom `useSelectedProject` (localStorage, like legacy ptokenState); home, login and logout clear it. Address parameters never select a project: old `?projectType=0|1&pkey=rawKey` links are ignored, and sharing is only through generated Page Copy/URL Copy links. This is not access control; server project scope is authoritative. Preserve pkey case and use projectType+pkey in query keys and BFF paths, with current user id/role/team in query keys. Runtime-validate data, use existing UI components, retain raw server count/LOI semantics and display-only padded date cleanup. Keep loading/error/empty/retry states.
|
||||
- Basic progress uses type/loi/day/screen; date filters affect type/loi/screen, never day, matching the server. Logging is a best-effort /log/visit call with server cookie identity, no /log/site HTTP.
|
||||
- The second migration phase is closed. Until the user explicitly announces launch, this application is unlaunched and old External token compatibility is unnecessary. The user performs every operation that writes to the shared database (live login, bookmark/derived saves, imports, share issuance and External login) and live Excel generation checks. No shared DB calls in local validation. Phase closure does not certify unexecuted live checks.
|
||||
- ReportMember/URL Copy/Page Copy roles are 9001/9002/9003. External login replaces the prior identity; validate the server-returned user and link together. Keep the link's project and page scope, disable project-list/summary reads, and use the link title. Page Copy has no GNB menus; URL Copy has only the four report menus. Hide logo navigation, Logout, project selection, Copy and bookmark writes. Bookmark reads and aggregate/Quota Excel remain allowed; server scope enforcement is authoritative.
|
||||
|
||||
Reference in New Issue
Block a user