Update the default RBAC solution (#593)

This commit is contained in:
Wu Clan
2025-04-27 14:54:39 +08:00
committed by GitHub
parent 5842127c2b
commit 9b3425d801
24 changed files with 1 additions and 1057 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ class Settings(BaseSettings):
JWT_USER_REDIS_EXPIRE_SECONDS: int = 60 * 60 * 24 * 7 # 7 天
# RBAC
RBAC_ROLE_MENU_MODE: bool = False
RBAC_ROLE_MENU_MODE: bool = True
RBAC_ROLE_MENU_EXCLUDE: list[str] = [
'sys:monitor:redis',
'sys:monitor:server',