I would like to model something analogous to permission boundaries in spicedb. For example, a user should only have view access if they have a shared permission AND they have an accesslevel (e.g. permission boundary) that grants them that minimum level of access. An accesslevel can have one or more minimum permission boundaries that it governs.
Do you guys have any examples of this? Basically I want to be able to define a permission in one resource definition based on the intersection of a permission in that definition and a permission in another resource definition.