notrab
10/11/2017, 3:06 PM{"data":{"createReport":null},"errors":[{"locations":[{"line":2,"column":3}],"path":["createReport"],"code":3008,"message":"Permission Query is invalid. Could not be parsed. Error Message: Syntax error while parsing GraphQL query. Invalid input \"query ($user_id: ID) q\", expected OperationDefinition, FragmentDefinition or TypeSystemDefinition (line 1, column 1):\nquery ($user_id: ID) query($user_id: ID!) {\n^","requestId":"eu-west-
albinekb
10/11/2017, 3:06 PMagartha
10/11/2017, 3:07 PMnotrab
10/11/2017, 3:07 PMnotrab
10/11/2017, 3:07 PMagartha
10/11/2017, 3:07 PMagartha
10/11/2017, 3:07 PMquery (field: ID!) #remove this line
{
SomeX....
}
notrab
10/11/2017, 3:09 PMnotrab
10/11/2017, 3:09 PMnotrab
10/11/2017, 3:09 PMagartha
10/11/2017, 3:09 PMagartha
10/11/2017, 3:10 PMlastmjs
10/11/2017, 3:11 PMagartha
10/11/2017, 3:11 PMagartha
10/11/2017, 3:12 PMagartha
10/11/2017, 3:13 PMagartha
10/11/2017, 3:13 PMagartha
10/11/2017, 3:14 PMnotrab
10/11/2017, 3:15 PMNo CONNECT permissions
. Did anything change for those permission queries? All I’m doing is checking the user is an admin. Nothing specialagartha
10/11/2017, 3:15 PMagartha
10/11/2017, 3:15 PMCONNECT
permission query specified?notrab
10/11/2017, 3:16 PM- operation: ReportOnMeetingable.*
authenticated: true
query: ./permissions/Report.graphql
notrab
10/11/2017, 3:16 PMReport.graphql
{
SomeUserExists(filter: {id: $user_id, admin: true})
}
agartha
10/11/2017, 3:17 PMnotrab
10/11/2017, 3:17 PMnotrab
10/11/2017, 3:17 PMagartha
10/11/2017, 3:18 PMnilan
10/11/2017, 4:08 PM