Security rule based on the users......

Suppose in a form if there will be list of people from different locations and also there will be an admin. If a person registered to this portal he should be able to see the people details only from his location. And admin must be able to see all people who had registered from different locations also. How this can be achievable…. 
1 answers

You can achieve this by using Xpath constraint in the entity access. There, make two different rules:

  • One for the admin, who has read rights of all users from any location, so no xpath constraint is required
  • One for users, who have read rights on users from their own location