WeKnora/internal/router
wizardchen 7528175a74 feat(knowledge-base): implement per-user pinning for knowledge bases
Refactored the pinning mechanism for knowledge bases to be user-specific, allowing any user with read access to pin knowledge bases independently. This change includes the introduction of a new `user_kb_pins` table to manage pin states, replacing the previous tenant-wide pinning system. Updated relevant API endpoints and service logic to support this new functionality, ensuring that the UI reflects the user's personal pin status.

Additionally, adjusted the knowledge base listing to sort by user-specific pin status, enhancing the user experience by prioritizing pinned items.

Refs: #1303
2026-05-18 17:28:58 +08:00
..
rbac.go refactor(rbac): address kb-access guard review findings 2026-05-18 17:28:58 +08:00
router.go feat(knowledge-base): implement per-user pinning for knowledge bases 2026-05-18 17:28:58 +08:00
router_files_test.go fix(files): fall back to global file service when tenant storage config is unavailable 2026-05-06 17:04:38 +08:00
sync_task.go fix(wiki): Lite ingest lock, failed-op requeue, sync task retry parity 2026-04-28 18:27:00 +08:00
task.go perf(wiki-ingest): scale to 4w-doc KBs + generic task queue / dead-letter 2026-05-10 00:01:06 +08:00