chore: 将 casbin.conf 加入 gitignore

This commit is contained in:
unclesam committed 2026-07-07 22:20:54 +08:00
1 parent 63c8f2980b
commit 2a22adb4bb
2 files changed
+2 -1

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
# Request definition
[request_definition]
r = sub, obj, act
# Policy definition
[policy_definition]
p = sub, obj, act
# Role definition
[role_definition]
g = _, _
# Policy effect
[policy_effect]
e = some(where (p.eft == allow))
# Matchers
[matchers]
m = r.sub == "your_admin_user" || g(r.sub, p.sub) && keyMatch2(r.obj, p.obj) && regexMatch(r.act, p.act)