02/10/2023, 10:08 AM
Hi, when creating permissions and using operators, is there an option to make objects(relations,parameters) mandatory or optional? In my example I would like to create a permission check like the following: "permission insert = rel1 + rel2 + rel3 ". rel1 should be mandatory, so that when rel2 or rel3 are defined, but rel1 is empty, it should return nothing. Opposite way is also necessary: If rel1 and rel2 and rel3 is defined, it should give back only objects which have relation to all three. Any idea how to create the permission using the available operators?


02/10/2023, 2:21 PM
maybe I'm missing something obvious but isn't
rel1 & rel2 & rel3
what you want here? It's the intersection of all three relations.