Folks - is there a convention (I guess through graph yoga resolvers) whereby I can ensure a model is only accessible with X permission? ie. a Note record can only be queried (and importantly via nested queries) if the user owns the note?
graph-shield doesn't give me model level security. It does at query, mutations and type props, but no, as far as I could understand, at the type level
rem
04/12/2019, 11:49 AM
I got this working in the end - the example on the graphql-shield had some errors in it which threw me off originally. I can set security at the model level.