From 8c133f3aaa1ea8f937cd308dcbc6f50c4d828d4c Mon Sep 17 00:00:00 2001 From: Feyko Date: Mon, 12 Dec 2022 00:05:39 +0100 Subject: [PATCH] fix: add missing directives (#20) wtf how could this happen --- schemas/bootstrap_version.graphql | 2 +- schemas/sml_version.graphql | 2 +- schemas/tags.graphql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/schemas/bootstrap_version.graphql b/schemas/bootstrap_version.graphql index fa6c24ee..be3c4f41 100755 --- a/schemas/bootstrap_version.graphql +++ b/schemas/bootstrap_version.graphql @@ -67,7 +67,7 @@ extend type Query { ### Mutations extend type Mutation { - createBootstrapVersion(bootstrapVersion: NewBootstrapVersion!): BootstrapVersion @isLoggedIn + createBootstrapVersion(bootstrapVersion: NewBootstrapVersion!): BootstrapVersion @canEditBootstrapVersions @isLoggedIn updateBootstrapVersion(bootstrapVersionId: BootstrapVersionID!, bootstrapVersion: UpdateBootstrapVersion!): BootstrapVersion! @canEditBootstrapVersions @isLoggedIn deleteBootstrapVersion(bootstrapVersionId: BootstrapVersionID!): Boolean! @canEditBootstrapVersions @isLoggedIn } diff --git a/schemas/sml_version.graphql b/schemas/sml_version.graphql index 90ed4704..9684c5bd 100755 --- a/schemas/sml_version.graphql +++ b/schemas/sml_version.graphql @@ -70,7 +70,7 @@ extend type Query { ### Mutations extend type Mutation { - createSMLVersion(smlVersion: NewSMLVersion!): SMLVersion @isLoggedIn + createSMLVersion(smlVersion: NewSMLVersion!): SMLVersion @canEditSMLVersions @isLoggedIn updateSMLVersion(smlVersionId: SMLVersionID!, smlVersion: UpdateSMLVersion!): SMLVersion! @canEditSMLVersions @isLoggedIn deleteSMLVersion(smlVersionId: SMLVersionID!): Boolean! @canEditSMLVersions @isLoggedIn } diff --git a/schemas/tags.graphql b/schemas/tags.graphql index 6400b81a..e166662e 100644 --- a/schemas/tags.graphql +++ b/schemas/tags.graphql @@ -22,7 +22,7 @@ extend type Query { ### Mutations extend type Mutation { - createTag(tagName: TagName!): Tag @isLoggedIn + createTag(tagName: TagName!): Tag @canManageTags @isLoggedIn createMultipleTags(tagNames: [TagName!]!): [Tag!]! @canManageTags @isLoggedIn updateTag(tagID: TagID!, NewName: TagName!): Tag! @canManageTags @isLoggedIn deleteTag(tagID: TagID!): Boolean! @canManageTags @isLoggedIn