Cédric Krier
2563aed9b0
Check read access on parent field of child/parent operators
...
The 4th element of the clause is the parent field for the child_of/parent_of
operators, so it must be used to check access as related field.
Also we must remove the 4th element when checking related domain.
issue11115
review391371002
2022-01-11 23:07:45 +01:00
Cédric Krier
04a0aea2ad
Add __access__ to Model
...
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Cédric Krier
5b355f37d0
Check access on target only if related field has a target
...
The Dict field can use the relate syntax to access keys but it does not have
any target model to check.
issue8298
review251291002
2019-04-24 23:46:59 +02:00
Cédric Krier
c0510b0ec2
Refactoring test account and include search
...
issue7766
review50591002
2018-11-12 17:19:24 +01:00
Cédric Krier
c144f8c349
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:01 +01:00
Cédric Krier
ab74123eb2
Merge test/ into tests/
...
review1060002
2013-09-16 11:38:11 +02:00