Introducing new JSON Access Policy marker AAM_API that allows to tap into AAM PHP Framework within a policy. For instance, the following policy defines access controls to page xyz based abc page's permissions:
{
"Statement": {
"Effect": "deny",
"Resource": "Post:page:xyz",
"Action": "Read",
"Condition": {
"Equals": {
"${AAM_API.posts.is_restricted(abc)}": true
}
}
}
}
Introducing new JSON Access Policy marker
AAM_APIthat allows to tap into AAM PHP Framework within a policy. For instance, the following policy defines access controls to pagexyzbasedabcpage's permissions:{ "Statement": { "Effect": "deny", "Resource": "Post:page:xyz", "Action": "Read", "Condition": { "Equals": { "${AAM_API.posts.is_restricted(abc)}": true } } } }