Hey Could you tell me why tuples parser panic on ...
# talk-keto
l
Hey Could you tell me why tuples parser panic on such string "files#read@(groups:marketing#member)"
Copy code
Could not decode policies.rts:10
  files#read@(groups:marketing#member)

malformed string input
I see examples like "file1#access@(dir1#access)" which looks literally the same
s
I see examples like "file1#access@(dir1#access)" which looks literally the same
all of these examples have a banner on top of the docs page saying
This example assumes there is a namespace
files
with the relations
owner
and
access
defined, where each
owner
of an object also has
access
to that object. All relation tuples are stored in that namespace.
😉
so what you have to do is add namespaces to your tuple
Copy code
files:FILENAME_HERE#read@(groups:marketing#member)
l
Hm Ok, thanks 🙂