Jake
10/26/2022, 3:14 PMJake
10/26/2022, 3:26 PMzed validate
in CI (as well as some other custom tests using your code and the spicedb testserver
), and then once merged just use the API.Joey
10/26/2022, 3:50 PMGMG-Christine
10/26/2022, 3:52 PMJoey
10/26/2022, 4:16 PMzed validate
is the right call here. you could even use the Dockerized image for it, if you likeJoey
10/26/2022, 4:17 PMchance
10/26/2022, 5:19 PMJoey
10/26/2022, 5:20 PMJoey
10/26/2022, 5:21 PMJoey
10/26/2022, 5:21 PMchance
10/26/2022, 5:22 PMJoey
10/26/2022, 5:22 PMchance
10/26/2022, 5:23 PMJoey
10/26/2022, 5:23 PMJoey
10/26/2022, 5:23 PM...
was too verboseJoey
10/26/2022, 5:23 PMJoey
10/26/2022, 5:23 PMchance
10/26/2022, 5:24 PMJoey
10/26/2022, 5:25 PMchance
10/26/2022, 5:25 PMJoey
10/26/2022, 5:25 PMdefinition user {}
definition resource {
relation viewer: user
permission view = viewer
}
Joey
10/26/2022, 5:25 PMuser
is directly a viewer
of the resourceJoey
10/26/2022, 5:25 PMJoey
10/26/2022, 5:26 PMdefinition user {}
definition team {
relation member: user
}
definition resource {
relation viewer: user | team#member
permission view = viewer
}
Joey
10/26/2022, 5:26 PMmember
of team
is a viewer
Joey
10/26/2022, 5:26 PMrelation viewer: user
instead of relation viewer: user#...
Joey
10/26/2022, 5:26 PMJoey
10/26/2022, 5:26 PM...
isn't obviouschance
10/26/2022, 5:27 PM