json.data.policy.DomainAccessPolicy.json Maven / Gradle / Ivy
{
"name": "DomainOnlyAccessPolicy",
"displayName": "Domain Only Access Policy",
"fullyQualifiedName": "DomainOnlyAccessPolicy",
"description": "This Policy adds restrictions so that users will have access to domain related data. If the user has some domain, then he will be able to access data only for that domain. If the user does not have any domain assigned , he will be able to access only assets which also does not have any domain.",
"enabled": true,
"allowDelete": false,
"provider": "system",
"rules": [
{
"name": "DomainOnlyAccessRule",
"description": "Domain Only Access Rule",
"effect": "allow",
"resources": ["All"],
"operations": ["All"],
"condition": "hasDomain()"
}
]
}