XPath constraint entity read/write

1
Dear all, A question about how to link set up an XPath constraint. The following is the story: In the figure above the enitity is shown, and both flows go to the account entity in the project subgroup. Now, I wanted to make a page with an overview of the employees, which can only be accessed by the userrole ‘manager’ (which in fact is the link “Department_head”). How can I set up a page, such that the manager can only see the employees with the same department code, and not all the other employees? Thank you all in advance!    
asked
1 answers
2

Retrieve the Account. Your xpath should look like this:

[Administration.Account_Department/ModuleName.Department/ModuleName.Department_Head = $CurrentAccount]

If used on a page you need to use the token for the CurrentUser.

answered