Hi! Having the following example: ```{ "names...
# talk-keto
l
Hi! Having the following example:
Copy code
{
  "namespace": "default-namespace",
  "object": "group_a",
  "relation": "member",
  "subject_id": "user_a"
}
and
Copy code
{
  "namespace": "default-namespace",
  "object": "resource_a",
  "relation": "access",
  "subject_id": "default-namespace:group_a#member"
}
NOW, ASKING THE KETO IF THE
RELATION TUPLE
BELOW HAS ACCESS:
Copy code
{
  "namespace": "default-namespace",
  "object": "resource_a",
  "relation": "access",
  "subject_id": "user_a"
}
Is it supposed to return
True
? If yes, any idea why it isn’t working for me?
👀 1
s
there we changed the behaviour
BREAKING CHANGES: This patch changes the payload of the REST API. The gRPC API is not affected. The parameter
subject
was previously an encoded string. With this change clients have to explicitly use either
subject_id
or (
subject_set.namespace
and
subject_set.object
and
subject_set.relation
). The same is true for REST responses returned by Keto. An error with a hint will be returned if
subject
is still used.
1
l
That helped a lot. Thanks
s
Sure, np