diff options
| author | Olivier Dony <odo@openerp.com> | 2011-02-18 14:14:54 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2011-02-18 14:14:54 +0100 |
| commit | 2dd77dd687266d79b99783678296e1ed88024cbc (patch) | |
| tree | d07f3c8ed5b3fb8c23bfd1e42336b8093b161442 /python25-compat | |
| parent | da471302b613490880a9b89aaba8bd34566ccfe4 (diff) | |
[FIX] ir.attachment: search() must filter out all records that are not accessible
Due to the way ir.attachment permissions depend on the permissions of the
document they are attached too, normal filtering rules do not work for all
cases and a correct search() method is needed. This patch fixes some cases
that were not covered by search() yet.
An additional patch will be needed in the document module to also check
for access rights of the parent directory (a concept that does not exist
without the document module).
bzr revid: odo@openerp.com-20110218131454-0y4czja86w3ynaxb
Diffstat (limited to 'python25-compat')
0 files changed, 0 insertions, 0 deletions
