I am trying to add a button next to the delete button, which would allow the admins to restrict and allow access to certain databases. Similair to a user management, but without the need to go to mendix all the time but to restrict and grant access as an Admin-enduser I have been looking through a lot of forum posts but no answers were helpful.
asked
Yusuf Uestuener
1 answers
1
Am I correct that you want to restrict access to a specific Bid record for certain roles?
In that case
add a boolean “Access” to the Bid entity.
Put on the access rule of the targeted role the restriction [Access]
Add microflow button next to delete button
Create a microflow
Add change object;
Object: Bid
Commit: yes
Refresh: depends, but guess no
Member: Access
Value: false
Then the user with the access rule containing the restriction [Access] will only have data access to records where access is true