Sign in
apache
/
casbin-python-casbin-databases-adapter
/
refs/heads/master
/
.
/
tests
/
rbac_model.conf
blob: 71159e387d3423ea3daf05130f0f8bc00d53f9d7 [
file
] [
log
] [
blame
]
[
request_definition
]
r
=
sub
,
obj
,
act
[
policy_definition
]
p
=
sub
,
obj
,
act
[
role_definition
]
g
=
_
,
_
[
policy_effect
]
e
=
some
(
where
(
p
.
eft
==
allow
))
[
matchers
]
m
=
g
(
r
.
sub
,
p
.
sub
)
&&
r
.
obj
==
p
.
obj
&&
r
.
act
==
p
.
act