---
description: "'Edit all Spanish content with the Gitana Access Policy. Grant editor role based on locale conditions.' (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/access-policies/templates/edit-all-content-in-spanish"
---

# edit-all-content-in-spanish

This is a Gitana [Access Policy Template](/documentation/gitana/4.0/engine/access-policies/overview.md).

You can reference it using the identifier `edit-all-content-in-spanish`.

The JSON for this policy is:

```json

{
  "key": "edit-all-content-in-spanish",
  "title": "Allow a Project Member to be an Editor for All Content that is in Spanish",
  "statements": [
    {
      "roles": [
        "editor"
      ],
      "action": "grant",
      "conditions": [
        {
          "type": "locale",
          "config": {
            "locale": "^es.*"
          }
        }
      ]
    }
  ]
}
```
