mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 20:35:16 +00:00
fix and optimize casbin (#1121)
* - 删除rabac_model.conf, 改为字符串代码, 方便部署 - 删除casbin相关配置文件 * fix: delete api时只传id导致casbin_rules表清空bug
This commit is contained in:
@@ -35,10 +35,6 @@ email:
|
||||
secret: 'xxx'
|
||||
nickname: 'test'
|
||||
|
||||
# casbin configuration
|
||||
casbin:
|
||||
model-path: './resource/rbac_model.conf'
|
||||
|
||||
# system configuration
|
||||
system:
|
||||
env: 'public' # Change to "develop" to skip authentication for development mode
|
||||
|
||||
Reference in New Issue
Block a user