Sign in
apache
/
casbin-lua-casbin
/
refs/heads/copilot/fix-ci-error
/
.
/
examples
/
rbac_with_resource_roles_model.conf
blob: 845bc6c775734bb67546a60d35b43536d9b45f5d [
file
]
[
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
)
&&
r
.
act
==
p
.
act