Allow userroles / moduleroles in conditional visibility expression editor / allow does NOT have expression - Mendix Forum

Allow userroles / moduleroles in conditional visibility expression editor / allow does NOT have expression

4

Simple example: if the user does NOT have the userrole ‘Invoicing’ show a text ‘Please enable the invoicing feature to create PDF invoices’. 

Now we cannot create NOT constructions on userroles or moduleroles. So we would have to add calculated attributes to entities check if a user does NOT have a role and use this attribute for conditional visibility.

The best solution would be if we could use UserRoles and/or ModuleRoles in the expression editor for conditional visibility. Then we could even combine role restrictions with other expressions.

asked
0 answers