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

Jake

01/27/2022, 1:32 PM
Copy code
definition user {}

definition blob {
    relation owner: user_archive | shared_document // | ... and so on
    permission can_access = owner->owner + owner->editors
}

definition user_archive {
    relation owner: user
}

definition shared_document {
    relation editors: user
}