blob: 6bde63e1dbf1d0be9db96eb701793ff48c2b018b [file] [log] [blame]
{
"name" : "set-with-1-policy",
"policies" : [
{
"name" : "Operators can read a site if they are assigned to the site.",
"target" : {
"name" : "When an operator reads a site",
"resource" : {
"name" : "Site",
"uriTemplate" : "/secured-by-value/sites/sanramon"
},
"action" : "GET",
"subject" : {
"name" : "subject1",
"attributes" : [
{ "issuer" : "https://acs.attributes.int",
"name" : "site" }
]
}
},
"conditions" : [
{ "name" : "is assigned to site",
"condition" : "match.single(subject.attributes('https://acs.attributes.int', 'site'), 'sanramon')" }
]
}
]
}