cold-motorcycle-49371
04/09/2023, 6:26 PMview: (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 viewersSo that I don't have to have all the roles in all the applicable actions(/relations). Does Ory permission language allows such expressions?