feat: group permissions
This commit is contained in:
1 parent
74aa3d906b
commit
c08b5ac837
19 files changed
+216
-73
No files matched your search
@@ -18,7 +18,7 @@ type StorageQuery {
|
||||
targets(
|
||||
filter: String
|
||||
orderBy: String
|
||||
): [StorageTarget]
|
||||
): [StorageTarget] @auth(requires: ["manage:system"])
|
||||
}
|
||||
|
||||
# -----------------------------------------------
|
||||
@@ -28,7 +28,7 @@ type StorageQuery {
|
||||
type StorageMutation {
|
||||
updateTargets(
|
||||
targets: [StorageTargetInput]
|
||||
): DefaultResponse
|
||||
): DefaultResponse @auth(requires: ["manage:system"])
|
||||
}
|
||||
|
||||
# -----------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user