blob: 4c0aa68c5dac868f3b5d635806d0c784b7651a2a [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" : "POST, PUT",
"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"
}
]
}