Implement god mode permission in sessions

FeatureSecurityService
Name
lúc 21:00 24 tháng 10, 2025 UTC
Tác giả
snadjafinia
Cam kết
12085de

Changes to SecurityController: - Query is_god field from users table during login - Pass isGod to kSessionService.createSession Changes to KSessionService: - Add isGod parameter to createSession method - Store as 'GD' field in Redis session data - GD field indicates if user has god mode permission Flow: 1. User logs in → Query is_god from database 2. Create session in Redis with GD parameter 3. Frontend reads GD to show/hide god mode toggle 4. God mode toggle state managed separately in UI This implements the god mode permission system.

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Mỗi một bản cập nhật này đều được tự động cập nhật trong không gian làm việc của bạn. Bắt đầu tự do và xem nó lớn lên tuần này qua tuần khác.

Bắt đầu tự do mãi mãiXem truy cập