---
title: "Editor of all Content in Spanish"
description: "Editor role for Spanish content: manage, edit, and review all language-specific materials efficiently. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/access-policies/samples/editor-of-all-content-in-spanish"
---

# Editor of all Content in Spanish

This Access Policy grants the `editor` role over content in Spanish. It uses the [locale](/documentation/gitana/4.0/engine/access-policies/conditions/locale.md) condition with the locale `es`.

For example, if this policy is assigned to an Editors team that has no directly assigned roles, members of the team have `editor` rights against all content that is in Spanish. They will not have Editor rights over content in other languages or content that does not have a locale defined.

## JSON

```
{
    "title": "Editor of all Content in Spanish",
    "statements": [{
        "action": "grant",
        "roles": ["editor"],
        "conditions": [{
            "conditions": [{
                "type": "locale",
                "config": {
                    "locale": "es"
                }
            }]
        }]
    }]
}
```
