Sree
07/22/2022, 2:32 AMnew row violates row-level security policy for table \"projects\"
I've been stuck for a while now and not sure what to do. This is my mutation query:
mutation MyMutation {
insertIntoprojectsCollection(objects: {assets: ["test01"], name: "test", scene: "testscene", sensors: [{name: "camera1"}], user_id: "ca3ca3b8-9146-48e3-9106-1d8e42f8f5b5"}) {
affectedCount
}
}Needle
07/22/2022, 2:32 AMgaryaustin
07/22/2022, 2:40 AMSree
07/22/2022, 2:41 AMSree
07/22/2022, 2:42 AMSree
07/22/2022, 2:45 AMuser_id column on the projects table is a foreign key to auth.users.idgaryaustin
07/22/2022, 2:47 AMSree
07/22/2022, 2:48 AMgaryaustin
07/22/2022, 2:48 AMgaryaustin
07/22/2022, 2:49 AMSree
07/22/2022, 2:49 AMgaryaustin
07/22/2022, 2:49 AMSree
07/22/2022, 2:50 AM