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
@@ -22,7 +22,7 @@ type LoggingQuery {
loggers(
filter: String
orderBy: String
): [Logger]
): [Logger] @auth(requires: ["manage:system"])
}
# -----------------------------------------------
@@ -32,7 +32,7 @@ type LoggingQuery {
type LoggingMutation {
updateLoggers(
loggers: [LoggerInput]
): DefaultResponse
): DefaultResponse @auth(requires: ["manage:system"])
}
# -----------------------------------------------