Sign in
apache
/
casbin-lua-casbin
/
refs/heads/master
/
.
/
examples
/
keyget2_model.conf
blob: 5b569a6854db580c647a52bfed33a265548afd60 [
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
&&
keyGet2
(
r
.
obj
,
p
.
obj
,
'resource'
)
in
(
'age'
,
'name'
)
&&
regexMatch
(
r
.
act
,
p
.
act
)