mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
feat: fix length of policy and [policy_define]
in model
inconsistent (#1400)
This commit is contained in:
@ -41,7 +41,7 @@ func getEnforcer(permission *Permission) *casbin.Enforcer {
|
|||||||
r = sub, obj, act
|
r = sub, obj, act
|
||||||
|
|
||||||
[policy_definition]
|
[policy_definition]
|
||||||
p = sub, obj, act
|
p = sub, obj, act, "", "", permissionId
|
||||||
|
|
||||||
[role_definition]
|
[role_definition]
|
||||||
g = _, _
|
g = _, _
|
||||||
|
Reference in New Issue
Block a user