diff --git a/TODO.md b/TODO.md index e250be3..243cf08 100644 --- a/TODO.md +++ b/TODO.md @@ -46,9 +46,9 @@ Successfully integrated real authentication and authorization into the botserver - [x] **4.1** RBAC seed data migration exists: `20250714000001_add_rbac_tables` - [x] **4.2** RBAC tables defined in schema.rs -### Phase 5: Verification +### Phase 5: Verification ✅ - [x] **5.1** Full compilation test ✅ (0 warnings, 0 errors) -- [ ] **5.2** Runtime verification +- [x] **5.2** Runtime verification ✅ --- @@ -63,7 +63,7 @@ Successfully integrated real authentication and authorization into the botserver | File | Changes | |------|---------| | `security/mod.rs` | Export new auth_provider types + RBAC types | -| `security/auth.rs` | Add `AuthMiddlewareState`, `auth_middleware_with_providers`, `extract_user_with_providers` | +| `security/auth.rs` | Add `AuthMiddlewareState`, `auth_middleware_with_providers`, `extract_user_with_providers`, `ExtractedAuthData` | | `security/rbac_middleware.rs` | Add `RbacMiddlewareState`, `RbacError`, middleware factories | | `core/shared/state.rs` | Add `jwt_manager`, `auth_provider_registry`, `rbac_manager` to AppState | | `main.rs` | Initialize auth components, use `auth_middleware_with_providers` | @@ -129,6 +129,7 @@ ApiKeyAuthProvider // API key validation AuthProviderRegistry // Multi-provider orchestration AuthProviderBuilder // Fluent builder pattern AuthMiddlewareState // State for auth middleware +ExtractedAuthData // Thread-safe auth data extraction // Authorization RbacMiddlewareState // State for RBAC middleware diff --git a/botlib b/botlib index ff599a2..3d07d7f 160000 --- a/botlib +++ b/botlib @@ -1 +1 @@ -Subproject commit ff599a2cd4847972eedff2ed5345bdfc264a60bc +Subproject commit 3d07d7f98931f8349f8c3a8f5d1198f6fd0b0c4d diff --git a/botui b/botui index d4082b6..c24ff23 160000 --- a/botui +++ b/botui @@ -1 +1 @@ -Subproject commit d4082b612a6fd71b9cde51627280c865d98f0a0d +Subproject commit c24ff23a07a06ff779492e95cde10191ea46a984