Delete button and entity access rules

1
Hi, I got a “delete” button, which is displayed despite the access rule defined on the entity (which prevents deletion for certain roles). If I click on the button, I get a “Deleting object failed for security reasons.” message. → Why does Mendix displays the button, knowing this user can’t perform the action ?? → How can I add a test a specific action against entity’s access rules ? (something like a microflow / java action which I could send the entity + the action (create / delete / edit a specific field) to, and would answer true/false)    Thanks
asked
1 answers
0

Are you sure that the user role does not have delete rights? Or may be that user has multiple roles and one of it has delete right? Because the Delete button is not shown if the user does not have rights to do so.

Rights:

Admin:
 

User:

answered