- casbin model文件移到conf下

This commit is contained in:
gazebo
2019-08-13 16:27:48 +08:00
parent e2867d6f67
commit 05e6dbe6e1
4 changed files with 12 additions and 4 deletions

View File

@@ -1,14 +0,0 @@
[request_definition]
r = sub, obj, act
[policy_definition]
p = sub, obj, act
[role_definition]
g = _, _
[policy_effect]
e = some(where (p.eft == allow))
[matchers]
m = g(r.sub, p.sub) && r.obj == p.obj && r.act == p.act