Hi everyone! Trying to find the thread about list...
# spicedb
a
Hi everyone! Trying to find the thread about listing all relationships between list of users and list of objects, can't find it Let's assume the schema is simple
Copy code
definition user: {}

definition document {
    relation editor: user
    relation suggester: user
    relation viewer: user

    permission view = viewer + suggester + editor
    permission suggest = suggester + editor
    permission edit = editor
}
What's the most efficient way to list all relations between multiple users and multiple documents? And do I understand correctly that I can do this for relations, but can't list permissions?
2 Views