Join Slack
Powered by
Has anyone ever managed to fix the “No CONNECT per...
# prisma-whats-new
p
patrick
01/12/2018, 10:20 AM
Has anyone ever managed to fix the “No CONNECT permissions” error?
https://www.graph.cool/forum/t/stuck-with-connect-permissions/665/14
f
fabien0102
01/12/2018, 10:43 AM
Just add the correct permission 😉 Example ->
https://github.com/fabien0102/climbing-app/blob/fdc17ca70336863cf68dd5f3a46b0f7076e5f31e/graphcool/graphcool.yml#L77
p
patrick
01/12/2018, 12:46 PM
Thanks, I figured out that making the field non-mandatory and adding this connect permission with a custom query works
patrick
01/12/2018, 12:47 PM
But it’s much more limited, I’m not able to use the query parameters from the update query, like $user_id
patrick
01/12/2018, 12:48 PM
Ideally, I’d like to check that my document belongs to the right entity (startup in this case) to allow the connection.
patrick
01/12/2018, 12:50 PM
My reasoning is that otherwise, anyone could update the connection?
Open in Slack
Previous
Next