Files
CASAN/AINative_OKR_CASAN5/docs/output/ipa-docs/dd/dd-mod01-okr-management.md
T
2026-06-30 02:21:39 +09:00

475 B

DD-MOD-01 OKR Management

Backend Design

Controllers are thin and call AuthService, UsersService, ObjectivesService, KeyResultsService. PrismaService is the only database access layer.

Authorization

JwtAuthGuard verifies Bearer/cookie token. Employees are constrained to ownerId == user.sub. Managers/Admins read all objectives.

Progress Calculation

KeyResultsService updates progress in a transaction, writes ProgressUpdate, then recalculates objective status.