You might have heard of the excellent tool https://securitycheck.webflight.nl/
With this tool you can easily check your security of your Mendix application. But solving those issues can be quite difficult in the modeler. We found that the most difficult to solve are the complex XPATH's. What I would like is in the window where I define the Xpath a button to test that XPATH with some user credentials so you can test that XPATH as that user.
The ideal result that it would show me all the results of the XPATH lines and which security rules are applied to those lines. It would even be more helpfull if the time it took for the XPATH was shown. Because then I can play around with the XPATH to see which one has the best results.
I would also suggest to see the translation of the Xpath query in SQL query in the modeler.
So that you can execute the SQL query directly on the database. Creating SQL queries for complex Xpath on database is time consuming, while Modeler is doing this inherently.