https://authzed.com logo
#spicedb
Title
# spicedb
p

phroggyy

11/23/2021, 9:57 AM
so in short, we have something like
Copy code
definition entity1 {
    viewer: user
    creator: user
    commenter: user
}

definition entity2 {
    viewer: user
    deleter: user
    restorer: user
    archiver: user
    unarchiver: user
    creator: user
}

definition resourcetype {
    viewer: user
    commenter: user
    deleter: user
    restorer: user
    archiver: user
    unarchiver: user
    creator: user
}
in reality, we might have slightly fewer relations and more permissions (e.g archive and unarchive are probably covered by one relation and two permissions), but the problem still exists