Testing read and write access of an attribute in a microflow

0
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://community.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
asked
1 answers
3

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,

Edo

answered