Negative / Exclusive-Or Visibility OR capability to use roles in visibility expressions - Mendix Forum

Negative / Exclusive-Or Visibility OR capability to use roles in visibility expressions

2

My main use-case for this is buttons, that are shown to people who have a specific set of roles:

Let’s say, you have two buttons, that each require a specific role + some check per role.

Now some people have multiple user roles and thus can see both buttons, resulting in a lot of confusion over duplicate buttons. Currently you can not:

The only solution that currently works is, to use a visibility helper object, that checks all things to consider for visibility, and gives you a simple true-false flag for visibility.

 

I could think of multiple ways to solve this:

asked
0 answers