ken
02/21/2018, 6:37 PMmutation CreatePost {
createPost(content:"some content", title:"some title", authorId: "cjdv2rl8tbb9f0197g0o9dtm3") {
id
title
content
}
}
but am getting back an error in the playground:
...
"message": "No CONNECT permissions",
...
I recently changed my permissions from wildcard to the following:
permissions:
- operation: User.read
authenticated: true
- operation: User.create
authenticated: true
- operation: User.update
authenticated: true
- operation: User.delete
authenticated: true
- operation: Post.read
authenticated: true
- operation: Post.create
authenticated: true
- operation: Post.update
authenticated: true
fields:
- title
- content
- mainImageUrl
query: ./permissions/updatePost.graphql
- operation: Post.delete
authenticated: true
and then the createPost mutation started throwing that error above. anyone know why, or what that even means?Fitch
02/21/2018, 6:56 PMken
02/21/2018, 7:01 PMmlyons
02/21/2018, 7:13 PMFitch
02/21/2018, 7:22 PM{
"Authorization": "Bearer <token>"
}
Fitch
02/21/2018, 7:22 PM