blob: bfc55c435dbc4c2807bb4a7ebd1735f393647e14 [file] [log] [blame]
{
"name" : "Operator policy set",
"policies" : [
{
"name" : "PolicyMatcher MUST match this policy during this test.",
"target" : {
"name" : "When an operator reads an asset",
"resource" : {
"name" : "Asset",
"uriTemplate" : "/assets/{asset_id}"
},
"action" : "GET,POST, DELETE, SUBSCRIBE, MESSAGE",
"subject" : {
"name" : "Operator"
}
},
"conditions" : [
{ "name" : "is member of group",
"condition" : "match.any(subject.attributes('https://acs.attributes.int', 'group'), resource.attributes('https://acs.attributes.int', 'group'))" }
],
"effect" : "PERMIT"
}
]
}