Hello Everyone, I'm experimenting and playing arou...
# talk-keto
c
Hello Everyone, I'm experimenting and playing around with Ory Keto. This example talks about transitive permissions for hierarchical objects. Is there any way where we can have transitive relations defined? For example, In any name space I would just say,
Copy code
view: (ctx: Context): boolean =>
      this.related.parents.traverse((p) => p.permits.view(ctx)) ||
      this.related.viewers.includes(ctx.subject)
And there should be some way where I state,
All owners are viewers.
All editors are viewers
So that I don't have to have all the roles in all the applicable actions(/relations). Does Ory permission language allows such expressions?