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

@@ -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"])
}
# -----------------------------------------------