Seudocode sample:
class A
tech_ids: one2many('B'),
Class B
user_id : many2one('res.users')
Class A has a one2many field to some other class B. Class B has a many2one field to users. How can I create a rule that allows edit objects of class A only if it has some object B in tech_ids referencing the current user?