Join Discord
Powered by
Hello,
# spicedb
c
Clemence
06/04/2024, 1:01 PM
Hello, I m doing my first schema
https://play.authzed.com/s/1AkN8lO0QhpT/relationships
I m stuck for continue, i have some issue for assertions and excepted relation
v
vroldanbet
06/04/2024, 1:06 PM
what's the issue you have with assertions? What does "excepted relation" mean?
c
Clemence
06/04/2024, 1:34 PM
this menu
https://cdn.discordapp.com/attachments/1247535784270233754/1247543974801965077/Capture_decran_2024-06-04_a_15.34.16.png?ex=6660695d&is=665f17dd&hm=5bd512ea771c39774ffbe51320b588d9facd154ea5e36f2cb8152ffef971eb88&
Clemence
06/04/2024, 1:35 PM
i manage to do something witch work, but i dont know if i m close from best practice or not
https://play.authzed.com/s/g7jzUEuHTFj-/relationships
v
vroldanbet
06/04/2024, 3:04 PM
In the first like
read_person
is a permission, not a relationship. You can't write to a permission. You write relationships to the things that are named
relation
in your schema. Those relationships denote edges in a graph, like A
B.
vroldanbet
06/04/2024, 3:04 PM
you can see it in the errors tab below:
https://cdn.discordapp.com/attachments/1247535784270233754/1247566703211188305/image.png?ex=66607e88&is=665f2d08&hm=ead8d207973611955ad9d0d27c276a23961c31f233bd2e91da8fc9871e98cd1d&
c
Clemence
06/04/2024, 4:29 PM
ho thank
Previous
Next