derwolfe
06/23/2022, 3:32 PMJake
06/23/2022, 3:32 PMderwolfe
06/23/2022, 3:35 PMJake
06/23/2022, 3:35 PMderwolfe
06/23/2022, 3:36 PMderwolfe
06/23/2022, 3:38 PMcalle-ibx
06/23/2022, 4:09 PMJoey
06/23/2022, 4:10 PMJoey
06/23/2022, 4:11 PMJoey
06/23/2022, 4:11 PMcalle-ibx
06/23/2022, 4:12 PMJoey
06/23/2022, 4:12 PMcalle-ibx
06/23/2022, 4:12 PMJoey
06/23/2022, 4:13 PMJoey
06/23/2022, 4:13 PMJake
06/23/2022, 4:13 PMcalle-ibx
06/23/2022, 4:14 PMcalle-ibx
06/23/2022, 4:14 PMJake
06/23/2022, 4:16 PMcalle-ibx
06/23/2022, 4:17 PMcalle-ibx
06/23/2022, 4:21 PMconnor
06/23/2022, 5:38 PMview
permission is dependent on the `token`βs relation when there isnβt a link between them?
To put in a different way, the resource is only allowed to be viewed if the `token`βs user
is the owner and the token
has that extra permission.
definition user {}
definition extra_permission {}
definition token {
relation user: user
relation extra_perm: extra_permission
}
definition resource {
relation owner: user
permission view = owner + // how to put logic for <extra_permission> here?
}
Joey
06/23/2022, 6:05 PMJoey
06/23/2022, 6:05 PMJoey
06/23/2022, 6:06 PMcalle-ibx
06/23/2022, 6:29 PMJoey
06/23/2022, 6:31 PMJoey
06/23/2022, 6:32 PMJoey
06/23/2022, 6:32 PMJoey
06/23/2022, 6:32 PM