Skip to content

Commit 8c133f3

Browse files
authored
fix: add missing directives (#20)
wtf how could this happen
1 parent aa61c6e commit 8c133f3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

schemas/bootstrap_version.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ extend type Query {
6767
### Mutations
6868

6969
extend type Mutation {
70-
createBootstrapVersion(bootstrapVersion: NewBootstrapVersion!): BootstrapVersion @isLoggedIn
70+
createBootstrapVersion(bootstrapVersion: NewBootstrapVersion!): BootstrapVersion @canEditBootstrapVersions @isLoggedIn
7171
updateBootstrapVersion(bootstrapVersionId: BootstrapVersionID!, bootstrapVersion: UpdateBootstrapVersion!): BootstrapVersion! @canEditBootstrapVersions @isLoggedIn
7272
deleteBootstrapVersion(bootstrapVersionId: BootstrapVersionID!): Boolean! @canEditBootstrapVersions @isLoggedIn
7373
}

schemas/sml_version.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ extend type Query {
7070
### Mutations
7171

7272
extend type Mutation {
73-
createSMLVersion(smlVersion: NewSMLVersion!): SMLVersion @isLoggedIn
73+
createSMLVersion(smlVersion: NewSMLVersion!): SMLVersion @canEditSMLVersions @isLoggedIn
7474
updateSMLVersion(smlVersionId: SMLVersionID!, smlVersion: UpdateSMLVersion!): SMLVersion! @canEditSMLVersions @isLoggedIn
7575
deleteSMLVersion(smlVersionId: SMLVersionID!): Boolean! @canEditSMLVersions @isLoggedIn
7676
}

schemas/tags.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extend type Query {
2222
### Mutations
2323

2424
extend type Mutation {
25-
createTag(tagName: TagName!): Tag @isLoggedIn
25+
createTag(tagName: TagName!): Tag @canManageTags @isLoggedIn
2626
createMultipleTags(tagNames: [TagName!]!): [Tag!]! @canManageTags @isLoggedIn
2727
updateTag(tagID: TagID!, NewName: TagName!): Tag! @canManageTags @isLoggedIn
2828
deleteTag(tagID: TagID!): Boolean! @canManageTags @isLoggedIn

0 commit comments

Comments
 (0)