ArunMu
05/17/2024, 9:03 AMvroldanbet
05/17/2024, 12:17 PMArunMu
05/17/2024, 2:15 PMArunMu
05/17/2024, 2:15 PMJoey
05/17/2024, 2:33 PMJoey
05/17/2024, 2:33 PMvroldanbet
05/17/2024, 3:15 PMJoey
05/17/2024, 3:19 PMArunMu
05/17/2024, 4:11 PMJoey
05/17/2024, 4:13 PMArunMu
05/17/2024, 4:13 PMArunMu
05/17/2024, 4:13 PMJoey
05/17/2024, 4:13 PMJoey
05/17/2024, 4:13 PMJoey
05/17/2024, 4:14 PMArunMu
05/17/2024, 4:15 PMJoey
05/17/2024, 4:15 PMJoey
05/17/2024, 4:15 PMJoey
05/17/2024, 4:15 PMdefinition user {}
definition document {
relation viewer: user
relation editor: user
permission view = viewer + editor
}Joey
05/17/2024, 4:15 PMcheck permission document:somedoc view user:someuserJoey
05/17/2024, 4:15 PMJoey
05/17/2024, 4:16 PMdocument:somedoc view user:someuser, document:somedoc viewer user:someuser, document:somedoc editor user:someuserJoey
05/17/2024, 4:16 PMviewer and editor will be computed independentlyJoey
05/17/2024, 4:16 PMeditor is updated after viewer is checked but before editor is checked; the result won't reflect a single point in timeJoey
05/17/2024, 4:16 PMJoey
05/17/2024, 4:16 PMJoey
05/17/2024, 4:17 PMviewer and editor to both be computed at that specific pointJoey
05/17/2024, 4:17 PMeditor while the computation is going on, it won't be reflected in the answerJoey
05/17/2024, 4:17 PMArunMu
05/17/2024, 4:18 PMArunMu
05/17/2024, 4:18 PMJoey
05/17/2024, 4:19 PMJoey
05/17/2024, 4:19 PMJoey
05/17/2024, 4:19 PMArunMu
05/17/2024, 4:19 PMArunMu
05/17/2024, 4:20 PMArunMu
05/17/2024, 4:20 PMJoey
05/17/2024, 4:20 PMJoey
05/17/2024, 4:20 PMJoey
05/17/2024, 4:20 PMJoey
05/17/2024, 4:21 PMJoey
05/17/2024, 4:21 PMJoey
05/17/2024, 4:21 PMminimize_latency for most checks unless you need read-after-writeArunMu
05/17/2024, 4:21 PM