WeKnora/internal/handler/session
wizardchen 7444c2190d chore(rbac): update default behavior for tenant RBAC configuration
Refactor the tenant RBAC configuration to change the default value from false to true, enabling role enforcement by default. This change allows operators to opt into a logging-only rollout window by explicitly setting the configuration to false.

Updates include:
- Modifications to .env.example and docker-compose.yml to reflect the new default.
- Adjustments in rbac.md documentation to clarify the new default behavior and the opt-in process.
- Code changes across various files to utilize the new pointer-based configuration for EnableRBAC, ensuring nil safety and clearer intent.

No functional changes were introduced; the adjustments primarily enhance clarity and maintainability of the RBAC feature.
2026-05-18 21:24:28 +08:00
..
agent_stream_handler.go feat(observability): log end-to-end TTFB on both ends of chat stream 2026-05-12 21:16:37 +08:00
attachment_processor.go fix:attachment_document_failed 2026-04-29 22:34:13 +08:00
handler.go feat(memory-management): implement server-side user preference for memory feature 2026-05-18 17:28:58 +08:00
helpers.go refactor(api): drop deprecated tenant ConversationConfig field and KV write path 2026-05-18 17:28:58 +08:00
image_upload.go feat(video): update ASR terminology and file type labels for improved clarity 2026-04-14 22:59:14 +08:00
qa.go chore(rbac): update default behavior for tenant RBAC configuration 2026-05-18 21:24:28 +08:00
stream.go fix(session): map ErrSessionNotFound to 404 across all handlers 2026-05-14 16:47:36 +08:00
title.go feat: 支持知识库选择模式和标题生成模型配置 2025-12-29 14:35:13 +08:00
types.go feat(memory-management): implement server-side user preference for memory feature 2026-05-18 17:28:58 +08:00