WeKnora/internal/router
wizardchen 1d1e1e3d25 refactor(api-keys): update role handling and enhance API key restrictions
Change the default role for tenant API keys from 'admin' to 'owner' to align with the new authorization model. Update related tests to reflect this change, ensuring that API keys with the owner role are correctly denied access to management paths and system-admin routes. Introduce new tests to validate that API keys are properly restricted from accessing sensitive endpoints, reinforcing the security measures in place.
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 refactor(api-keys): update role handling and enhance API key restrictions 2026-07-07 12:00:13 +08:00
router_api_key_management_test.go refactor(api-keys): update role handling and enhance API key restrictions 2026-07-07 12:00:13 +08:00
router_files_test.go refactor(api-keys): update role handling and enhance API key restrictions 2026-07-07 12:00:13 +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