Alsbury
10/24/2022, 9:41 PMAlsbury
10/24/2022, 9:45 PMJoey
10/24/2022, 9:56 PMSyebaurgh
10/24/2022, 11:12 PMdefinition subject {
relation viewer: user
permission view = viewer
}
definition resource {
relation subject: subject
permission view = subject->view
}
and you create multiple relationships between subject and resource through the resource subject
relation:
resource:r1#subject@subject:s1
resource:r1#subject@subject:s2
resource:r1#subject@subject:s3
subject:s1#viewer@user:u1
subject:s2#viewer@user:u1
Syebaurgh
10/24/2022, 11:14 PMview
permission on the resource the user is a viewer
of all the subjects of the resource?Syebaurgh
10/24/2022, 11:15 PMu1
should not have the view
permission on resource r1
Syebaurgh
10/24/2022, 11:16 PMviewer
of subject s3
Joey
10/24/2022, 11:24 PMJoey
10/24/2022, 11:24 PMAlsbury
10/24/2022, 11:59 PMpj
10/25/2022, 9:10 AMJoey
10/25/2022, 2:25 PMSyebaurgh
10/25/2022, 7:02 PMWriteRelationships
fail partially? If so, do we end up in a situation where only some of the relationships are written or are all relationships not committed when there's a write error?Joey
10/25/2022, 7:15 PMJoey
10/25/2022, 7:15 PMJoey
10/25/2022, 7:15 PMJoey
10/25/2022, 7:15 PMJoey
10/25/2022, 7:18 PMSyebaurgh
10/25/2022, 7:19 PMJoey
10/25/2022, 7:21 PMJoey
10/25/2022, 7:21 PMJoey
10/25/2022, 7:22 PMSyebaurgh
10/25/2022, 7:22 PMSyebaurgh
10/25/2022, 7:34 PMJoey
10/25/2022, 7:35 PMJoey
10/25/2022, 7:35 PMGMG-Christine
10/26/2022, 10:35 AMtaras
10/26/2022, 11:52 AMzed relationship read
command, it wants some argument. I can't find an example in docs or make sense of the source codevroldanbet
10/26/2022, 3:13 PMGMG-Christine
10/26/2022, 3:13 PM