Hi,
I’m failing at doing something that should be quite simple.
I have three tables:
- cities, with a list of cities
- projects, with a list of projects, with a ReferenceField to the cities table
- users, with a list of users, and a ReferenceField to the cities table
What I want to achieve:
- allow users to see only the projects on their city, easy:
user.custom.City == rec.City
and voilà - allow users to see only their city in the cities tables => fail, I’ve tested this
user.custom.City == rec
, but the users cannot see the table at all
Here is a test case: https://nuage.yohanboniface.me/test_acl_with_reference.grist
Thanks in advance for your help
Yohan