manage-content-of-a-type-in-a-folder
This is a Gitana Access Policy Template.
You can reference it using the identifier manage-content-of-a-type-in-a-folder
.
The JSON for this policy is:
{
"key": "manage-content-of-a-type-in-a-folder",
"title": "Allow a Project Member to be a Manager for All Content that has a specific Content Type and is in a specific path",
"statements": [
{
"roles": [
"manage"
],
"action": "grant",
"conditions": [
{
"type": "and",
"config": {
"conditions": [
{
"type": "type-qname",
"config": {
"qname": "my:article"
}
},
{
"type": "path",
"config": {
"path": "^/articles/.*"
}
}
]
}
}
]
}
]
}