How to write xpath to check if current user belong to a list of user?

1
Hi I have a entity Project which have n-n relation with Administraition.Account In the Project Edit page, my client want to add xpath constraint to Editability of input fields, so that only User that have relation to that project can edit it. But I am having this error and don’t know how to get around it. How should I write the xpath here so It can check if the current user is in the Project_Account List?
asked
1 answers
1

You need to retrieve an Account object before this query for the current user and use it for that second comparison. That should do the trick.

answered