Sign in
apache
/
casbin-node-casbin
/
refs/heads/master
/
.
/
examples
/
rbac_with_pattern_model.conf
blob: 84580d90fad37d88120a891f429d622e5d1fa451 [
file
] [
log
] [
blame
]
[
request_definition
]
r
=
sub
,
obj
,
act
[
policy_definition
]
p
=
sub
,
obj
,
act
[
role_definition
]
g
=
_
,
_
g2
=
_
,
_
[
policy_effect
]
e
=
some
(
where
(
p
.
eft
==
allow
))
[
matchers
]
m
=
g
(
r
.
sub
,
p
.
sub
)
&&
g2
(
r
.
obj
,
p
.
obj
)
&&
regexMatch
(
r
.
act
,
p
.
act
)