@@ -99,6 +99,11 @@ hsweb:
# name: 超级管理员
authorize:
auto-parse: true
+ permission:
+ filter:
+ enabled: false # 设置为true开启权限过滤,赋权时,不能赋予比自己多的权限.
+ exclude-username: admin # admin用户不受上述限制
+ un-auth-strategy: ignore # error表示:发生越权时,抛出403错误. ignore表示会忽略越权的赋权.
cache:
type: redis
redis: