gitea_push2qq/casbin_data/model.conf

15 lines
214 B
Plaintext
Raw Normal View History

2023-12-20 04:52:01 +08:00
[request_definition]
r = sub, act
[policy_definition]
p = sub, act
[role_definition]
g = _, _
[policy_effect]
e = some(where (p.eft == allow))
[matchers]
m = g(r.sub, p.sub) && (r.act == p.act || p.act == "*")