Using user info in XPath constraining Entity Access
0
Hello, In my application I try to constrain who can see certain data of an entity. I would like to allow the owner of an object and all administrators to see the data. Following the Mendix Reference guide on XPath, I tried the XPath: [System.owner= '[%CurrentUser%]' or [%CurrentUser%]/System.UserRoles = '[%UserRole_Administrator%]'] and numerous variations, but none is working. Is there any way to use to achieve this constraint?