feat: group permissions

This commit is contained in:
Nicolas Giard committed 2018-10-14 17:40:08 -04:00
1 parent 74aa3d906b
commit c08b5ac837
19 files changed
+216 -73

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@ type SearchQuery {
searchEngines(
filter: String
orderBy: String
): [SearchEngine]
): [SearchEngine] @auth(requires: ["manage:system"])
}
# -----------------------------------------------
@@ -28,7 +28,7 @@ type SearchQuery {
type SearchMutation {
updateSearchEngines(
searchEngines: [SearchEngineInput]
): DefaultResponse
): DefaultResponse @auth(requires: ["manage:system"])
}
# -----------------------------------------------