Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83469

XPath access constraint on attribute of CurrentUser

$
0
0
Assume the following model: Company with a 1-n relation to Employee Account (specialisation from System.User) with a 1-1 to Company.   So our accounts are linked to a Company. When a user logs in it should only be able to edit Employees from their own company. I want to add a Xpath access constraint on the Employee entity which would be something like --> [ Employee_Company = '[%CurrentUser%]' /Account_Company] But I'm not sure how to achieve this.  

Viewing all articles
Browse latest Browse all 83469


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>