feat: group permissions

This commit is contained in:
Nicolas Giard
2018-10-14 17:38:39 -04:00
parent 74aa3d906b
commit c08b5ac837
19 changed files with 216 additions and 73 deletions

View File

@@ -26,14 +26,14 @@ type LocalizationQuery {
type LocalizationMutation {
downloadLocale(
locale: String!
): DefaultResponse
): DefaultResponse @auth(requires: ["manage:system"])
updateLocale(
locale: String!
autoUpdate: Boolean!
namespacing: Boolean!
namespaces: [String]!
): DefaultResponse
): DefaultResponse @auth(requires: ["manage:system"])
}
# -----------------------------------------------