# spicedb

Deleted User

12/29/2021, 6:53 AM
Hey Guys, I am using this schema... My usecase is I want owner of the organization to be the member of the namespace only. How should I model it, any idea? 🙂
Copy code
definition user {}

definition namespace {
    relation owner: user
    relation member: user
    permission is_ns_member = owner + member

definition organization {
    relation namespace: namespace
    relation owner: user
    permission is_org_member = owner + namespace->is_ns_member