Hi All,
I am sure this is quite simple, but I wanted to allow anonymous users to only access the main site (id: 1) within my multi network. Here is the policy I thought might work:
{
"Version": "1.0.0",
"Dependency": {
"wordpress": ">=5.4.1",
"advanced-access-manager": ">=6.5.3"
},
"Statement": [
{
"Effect": "deny",
"Resource": "Site:${WP_SITE.blog_id}",
"Condition": {
"GreaterOrEquals": {
"${WP_SITE.blog_id}": 2
}
}
}
]
}
Many Thanks,
Rob