Skip to content

AAM removes slashes in JSON access policy #472

@aamplugin

Description

@aamplugin

The following policy becomes invalid upon second save because AAM removes properly escaped slashes:

{
    "Statement": [
        {
            "Effect": "deny",
            "Resource": "PostType:post:posts",
            "Action": "Edit",
            "Condition": {
                "Equals": {
                    "(*int)${CALLBACK.AAM\\AddOn\\Boilerplate\\Backend\\Manager::test}": 1
                }
            }
        }
    ]
}

Metadata

Metadata

Assignees

Labels

Projects

Status

Ready For Release

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions