vsxd
|
9bad6a38e2
|
chore(release): v0.1.0
|
2026-03-19 20:25:18 +08:00 |
|
vsxd
|
14d86c290a
|
chore(release): v0.1.0-beta.7
|
2026-03-13 16:05:08 +08:00 |
|
vsxd
|
62d9d88546
|
chore(release): cut v0.1.0-beta.2
|
2026-03-13 10:13:50 +08:00 |
|
vsxd
|
9a4d64b11b
|
feat(cli): implement DeviceAuthService with Redis storage
|
2026-03-12 18:13:46 +08:00 |
|
vsxd
|
5c4be0a26f
|
feat(auth): add OAuth2 login, access policy, API token, and RBAC
Task 10b: OAuth Claims + Access Policy
- OAuthClaims record, OAuthClaimsExtractor SPI, GitHubClaimsExtractor
- AccessPolicy SPI with Open/EmailDomain/ProviderAllowlist/SubjectWhitelist
- AccessPolicyFactory with config-driven strategy selection
- 8 unit tests for access policies
Task 11: Identity binding + OAuth2 user service
- PlatformPrincipal session-serializable record
- IdentityBindingService: bind-or-create on OAuth login
- CustomOAuth2UserService: policy evaluation + identity binding
- OAuth2LoginSuccessHandler: store principal in session
Task 12: API Token + RBAC
- ApiTokenService: SHA-256 hashed token create/validate/revoke
- ApiTokenAuthenticationFilter: Bearer token authentication
- RbacService: role/permission queries with SUPER_ADMIN bypass
|
2026-03-11 23:48:16 +08:00 |
|
vsxd
|
edfff6abc7
|
feat: complete Chunk 1 - backend skeleton and infrastructure
- Migrate all Maven groupId and Java packages to com.iflytek.skillhub
- Add Docker Compose with PostgreSQL 16, Redis 7, MinIO
- Add Flyway V1 migration with Phase 1 core schema (user, auth, RBAC, namespace, audit)
- Add RequestIdFilter with MDC tracing and X-Request-Id header
- Add GlobalExceptionHandler and ErrorResponse DTO
- Add HealthController (/api/v1/health) and OpenAPI config
- Add basic SecurityConfig permitting public endpoints
- Add H2 test profile for CI-friendly testing without external services
- Add top-level Makefile for dev workflow orchestration
- All 3 tests passing
|
2026-03-11 23:35:47 +08:00 |
|
vsxd
|
27b7a4dad1
|
feat: project ini and docs updates
|
2026-03-11 22:47:05 +08:00 |
|