Testing read and write access of an attribute in a microflow

Hi, I’m following up on an old (unresolved) topic : how can we test read / write access of the user on a specific object’s attribute ? This is the original idea : https://forum.mendix.com/link/ideas/841  I could’nt find anything neither in the forum, nor in CommunityCommons .. I tried to use IMendixMemberObject.hasReadAccess() and hasWriteAccess() methods, but they always return true even if the user has no rights (?!). Either I don’t understand how to use those methods, either it’s a bug. But anyways, do you guys have a solution here ?   Thanks
1 answers

Heey François,

Is in the properties tab of the microflow the option “apply entity access” set to yes. I think that if that is set to no the read and write access you configure in the domain model will not be checked in the microflow. For more info about what that option does see: https://docs.mendix.com/refguide/microflow#security

Kind regards,