yumoqing fbbe011a8d fix: rp_caches race condition causing intermittent 403
load_roleperms() was setting self.rp_caches = {} before the async
DB query. During the await, other coroutines saw {} (not None),
skipped the load, and checked permissions against an empty dict,
causing intermittent 403 on random paths.

Fix: build in local dict first, assign atomically when complete.
2026-05-30 11:19:32 +08:00
2026-03-25 14:14:47 +08:00
2026-05-22 17:21:00 +08:00
2025-07-16 14:19:12 +08:00
2025-07-16 14:19:12 +08:00
2025-07-16 14:19:12 +08:00
2025-07-16 14:19:12 +08:00
2026-04-16 14:36:29 +08:00

rbac

Description
No description provided
Readme 1 MiB
Languages
Python 88.5%
CSS 10.8%
Shell 0.7%