5 Star 78 Fork 34

lineCode / goshop

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
casbin.conf 318 Bytes
一键复制 编辑 原始数据 按行查看 历史
# casbin 的权限配置
# 请勿删除
[request_definition]
r = sub, obj, act
[policy_definition]
p = sub, obj, act
# RBAC角色继承关系的定义
[role_definition]
g = _, _
[policy_effect]
e = some(where (p.eft == allow))
[matchers]
m = g(r.sub, p.sub) && keyMatch2(r.obj, p.obj) && regexMatch(r.act, p.act)
Go
1
https://gitee.com/jobhandsome/goshop.git
git@gitee.com:jobhandsome/goshop.git
jobhandsome
goshop
goshop
master

搜索帮助