boundless-pilot-37368
01/26/2023, 10:21 PMNamespace Object Relation Subject Check Success
event a owner myUser TRUE
event b owner myUser FALSE
event c owner myUser FALSE
administrators global member myUser TRUE
administrators calendar member administrators#global:member TRUE
event c owner administrators#calendar:member TRUE
event a owner administrators#calendar:member TRUE
event b owner administrators#calendar:member TRUE
narrow-van-43826
01/27/2023, 11:38 AMboundless-pilot-37368
01/27/2023, 8:07 PMKetoRead
, getCheck(...)
Requests
getCheck('event', '19af3e48-8976-4632-9dbc-23be10613350', 'owner', undefined, 'administrators', 'calendar', 'member') -> allowed: true
getCheck('event', '19af3e48-8976-4632-9dbc-23be10613350', 'owner', undefined, 'administrators', 'global', 'member') -> allowed: true
getCheck('event', '19af3e48-8976-4632-9dbc-23be10613350', 'owner', 'myUserId') -> allowed: true
getCheck('event', 'ba448d5b-a325-4ff9-b9e3-8fc68748c69b', 'owner', undefined, 'administrators', 'calendar', 'member') -> allowed: true
getCheck('event', 'ba448d5b-a325-4ff9-b9e3-8fc68748c69b', 'owner', undefined, 'administrators', 'global', 'member') -> allowed: true
getCheck('event', 'ba448d5b-a325-4ff9-b9e3-8fc68748c69b', 'owner', 'myUserId') -> allowed: false
getCheck('administrators', 'calendar', 'member', undefined, 'administrators', 'global', 'member') -> allowed: true
getCheck('administrators', 'global', 'member', 'myUserId') -> allowed: true
boundless-pilot-37368
01/27/2023, 8:10 PM/api/.ory/relation-tuples/check/openapi?namespace=event&object=19af3e48-8976-4632-9dbc-23be10613350&relation=owner&subject_set.namespace=administrators&subject_set.object=calendar&subject_set.relation=member
/api/.ory/relation-tuples/check/openapi?namespace=event&object=19af3e48-8976-4632-9dbc-23be10613350&relation=owner&subject_set.namespace=administrators&subject_set.object=global&subject_set.relation=member
/api/.ory/relation-tuples/check/openapi?namespace=event&object=19af3e48-8976-4632-9dbc-23be10613350&relation=owner&subject_id=myUserId
/api/.ory/relation-tuples/check/openapi?namespace=event&object=ba448d5b-a325-4ff9-b9e3-8fc68748c69b&relation=owner&subject_set.namespace=administrators&subject_set.object=calendar&subject_set.relation=member
/api/.ory/relation-tuples/check/openapi?namespace=event&object=ba448d5b-a325-4ff9-b9e3-8fc68748c69b&relation=owner&subject_set.namespace=administrators&subject_set.object=global&subject_set.relation=member
/api/.ory/relation-tuples/check/openapi?namespace=event&object=ba448d5b-a325-4ff9-b9e3-8fc68748c69b&relation=owner&subject_id=myUserId
/api/.ory/relation-tuples/check/openapi?namespace=administrators&object=calendar&relation=member&subject_set.namespace=administrators&subject_set.object=global&subject_set.relation=member
/api/.ory/relation-tuples/check/openapi?namespace=administrators&object=global&relation=member&subject_id=myUserId
boundless-pilot-37368
01/27/2023, 8:12 PMallowed: false
to allowed: true
. If I add my user directly as an owner, the check succeeds.
I've also tried increasing the depth, but that did not change the result.steep-lamp-91158
I've also tried increasing the depth, but that did not change the result.did you check that the global depth is not limiting the request depth here? the global depth is set in the config, while the request can specify only a lower depth
boundless-pilot-37368
01/31/2023, 2:13 AMsteep-lamp-91158
steep-lamp-91158
boundless-pilot-37368
02/01/2023, 2:12 PMsteep-lamp-91158
boundless-pilot-37368
02/01/2023, 2:23 PM