full-petabyte-13526
04/21/2023, 2:25 PMpermits
, how do I check which object IDs allow that given a subject? Using the List API doesn't seem to return results -- it seems like permits are only considered relations when interacted with via the Check service, but nothing else? The use case is I want to determine which objects a subject has effective permissions to so I can filter them before returning them from an API service.full-petabyte-13526
04/21/2023, 2:38 PMfull-petabyte-13526
04/21/2023, 2:48 PMsteep-lamp-91158
steep-lamp-91158
full-petabyte-13526
04/21/2023, 3:36 PMketo relation-tuple get --insecure-disable-transport-security --relation edit --subject-id User:Henning --namespace File
neither flag --read-remote nor env var KETO_READ_REMOTE are set, falling back to 127.0.0.1:4466
NAMESPACE OBJECT RELATION NAME SUBJECT
NEXT PAGE TOKEN
IS LAST PAGE true
full-petabyte-13526
04/21/2023, 3:36 PMfull-petabyte-13526
04/21/2023, 3:37 PMfull-petabyte-13526
04/21/2023, 3:43 PMketo relation-tuple get --insecure-disable-transport-security --namespace File --subject-set 'User:Henning'
neither flag --read-remote nor env var KETO_READ_REMOTE are set, falling back to 127.0.0.1:4466
NAMESPACE OBJECT RELATION NAME SUBJECT
File private owners User:Henning
NEXT PAGE TOKEN
IS LAST PAGE true
but adding the edit relation in gives nothing back:
keto relation-tuple get --insecure-disable-transport-security --namespace File --relation edit --subject-set 'User:Henning'
neither flag --read-remote nor env var KETO_READ_REMOTE are set, falling back to 127.0.0.1:4466
NAMESPACE OBJECT RELATION NAME SUBJECT
NEXT PAGE TOKEN
IS LAST PAGE true
steep-lamp-91158