👋 Hello again! I was wondering, Is it possible t...
# spicedb
p
👋 Hello again! I was wondering, Is it possible to check if a resource is public?
Copy code
definition resource {
    relation owner: user 
    relation viewer: user | user:*
}
I have this schema, can I somehow check
zed permissions check resource:123#viewer@user:*
My current not-very-elegant approach is
zed permissions check resource:123#viewer@user:potato
, adding a id for user that's out of my id space (UUID), but seems not very elegant