Implement god mode permission in sessions

FeatureSecurityService
ส่งแล้ว
24 ตุลาคม 2568 เวลา 21:00 UTC
ผู้เขียน
snadjafinia
ตั้งค่า
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.

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์