Sign in
apache
/
casbin-lua-casbin
/
refs/heads/master
/
.
/
examples
/
keyget_model.conf
blob: cc92832b56623f101010c9c35b12603e1067c0fe [
file
] [
log
] [
blame
]
[
request_definition
]
r
=
sub
,
obj
,
act
[
policy_definition
]
p
=
sub
,
obj
,
act
[
policy_effect
]
e
=
some
(
where
(
p
.
eft
==
allow
))
[
matchers
]
m
=
r
.
sub
==
p
.
sub
&&
(
r
.
obj
==
p
.
obj
||
keyGet
(
r
.
obj
,
p
.
obj
)
in
(
'age'
,
'name'
))
&&
regexMatch
(
r
.
act
,
p
.
act
)