Manager of all Content in a Folder
This Access Policy grants the manager role over content in a folder. It uses the path condition with the regular expression ^/my/folder/.*, so that the statement applies to content located under the /my/folder folder, including its sub-folders.
JSON
{
"title": "Manager of all Content in a Folder",
"statements": [{
"action": "grant",
"roles": ["manager"],
"conditions": [{
"conditions": [{
"type": "path",
"config": {
"path": "^/my/folder/.*"
}
}]
}]
}]
}