wing-ops/frontend
htlee 8657190578 feat(auth): RBAC 오퍼레이션 기반 2차원 권한 시스템 구현
리소스 가시성(READ/HIDE) 단일 차원에서 리소스 × 오퍼레이션(RCUD) 2차원
권한 모델로 전환하여 세밀한 CRUD 권한 제어 지원.

- DB: AUTH_PERM에 OPER_CD 컬럼 추가, 마이그레이션 004 작성
- DB: AUTH_PERM_TREE 리소스 트리 테이블 추가 (마이그레이션 003)
- Backend: permResolver 2차원 권한 해석 엔진 (상속 + 오퍼레이션)
- Backend: requirePermission 미들웨어 신규 (리소스×오퍼레이션 검증)
- Backend: authService permissions → Record<string, string[]> 반환
- Backend: roleService/roleRouter OPER_CD 지원 API
- Backend: Helmet CORP 설정 (sendBeacon cross-origin 허용)
- Frontend: authStore.hasPermission(resource, operation?) 하위 호환 확장
- Frontend: PermissionsPanel 역할탭 + RCUD 4열 매트릭스 UI 전면 재작성
- Frontend: sendBeacon API_BASE_URL 절대경로 전환
- Docs: COMMON-GUIDE 권한 체계 + CRUD API 규칙 문서화

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 17:55:06 +09:00
..
public feat(auth): Google OAuth 로그인 연동 2026-02-27 16:42:59 +09:00
src feat(auth): RBAC 오퍼레이션 기반 2차원 권한 시스템 구현 2026-02-28 17:55:06 +09:00
.env.example chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
eslint.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
index.html chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
package-lock.json refactor(frontend): 공통 모듈 common/ 분리 + OpenLayers 제거 + path alias 설정 2026-02-28 14:00:50 +09:00
package.json refactor(frontend): 공통 모듈 common/ 분리 + OpenLayers 제거 + path alias 설정 2026-02-28 14:00:50 +09:00
postcss.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
README.md chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tailwind.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tsconfig.app.json refactor(frontend): 공통 모듈 common/ 분리 + OpenLayers 제거 + path alias 설정 2026-02-28 14:00:50 +09:00
tsconfig.json chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tsconfig.node.json chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
vite.config.ts refactor(frontend): 공통 모듈 common/ 분리 + OpenLayers 제거 + path alias 설정 2026-02-28 14:00:50 +09:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])