Skip to content

New access policy marker AAM_API #475

@aamplugin

Description

@aamplugin

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
            }
        }
    }
}

Metadata

Metadata

Assignees

Projects

Status

Ready For Release

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions