That would be super useful!
I have many Types that relate to my “Client” Type – Projects, Tasks, Meetings, etc.
I’d like to be able to use my Client Type as a “security restrictor” so it could automatically control access to all entities/Types to which it is related.
I would need to assign a “Client value” to each user/group, which must match an entity’s Client value for the user to have access to the entity.
So in my Client Type I would define its security function as:
Restrict access to all entities related to this Client type
by excluding all Users of class X
except where the User’s Client value matches the entity’s Client value.
Now I can have just one DB for all my clients, and their access permission is automatically handled everywhere.