I've set a policy to deny users from listing posts that are tagged with "powerbi" if the user's profile do not have a Advanced Custom Field named "license_powerbi" set to "1". The "license_powerbi" ACF field is a Text field.
This used to work in AAM v5.10.
I do have a Plus Package license and i've upgraded the Plus Package plugin to v5.0.3. I have confirmed that the plugin is "Active (Green)" in the AAM addon page.
{
"Version": "1.0.0",
"Dependency": {
"wordpress": ">=5.2.4",
"advanced-access-manager": ">=5.10"
},
"Statement": [
{
"Effect": "deny",
"Resource": [
"Term:post_tag:powerbi:posts"
],
"Action": [
"List"
],
"Condition": {
"NotEquals": {
"${USERMETA.license_powerbi}": "1"
}
}
}
]
}