WeKnora/internal/router
wizardchen a6759d61b5 feat(api-keys): implement DenyAPIKeyPrincipal middleware and related tests
Add DenyAPIKeyPrincipal middleware to explicitly block API-key principals from accessing certain routes, ensuring security for endpoints outside the /api/v1 group. Introduce tests to validate that API keys are correctly denied access while allowing JWT sessions to pass through. This enhances the overall authorization model by reinforcing the default-deny approach for API keys.
2026-07-07 12:00:13 +08:00
..
rbac.go refactor(api-keys): simplify authorization to a single-role gate 2026-07-07 12:00:13 +08:00
rbac_selfcheck_test.go refactor(api-keys): simplify authorization to a single-role gate 2026-07-07 12:00:13 +08:00
router.go feat(api-keys): implement DenyAPIKeyPrincipal middleware and related tests 2026-07-07 12:00:13 +08:00
router_files_test.go fix(security): harden outbound requests and file previews 2026-07-02 19:15:46 +08:00
router_presigned_test.go fix(api-keys): harden scoped key auth after code review 2026-07-07 12:00:13 +08:00
router_wiki_test.go fix(security): enforce KB access on wiki reads and related IDOR paths 2026-07-02 12:06:22 +08:00
sync_task.go fix(knowledge): harden batch reparse UX and async processing 2026-06-25 23:57:54 +08:00
task.go feat(redis): support TLS for Redis connections (#1930) 2026-07-06 23:02:02 +08:00
task_inspector.go feat(configuration): update asynq concurrency settings and enhance FAQ handling 2026-06-04 15:48:04 +08:00