document: Hide resource attachments/folders from static dirs.
authorP. Christeas <p_christ@hol.gr>
Wed, 27 Oct 2010 10:23:23 +0000 (13:23 +0300)
committerP. Christeas <p_christ@hol.gr>
Wed, 27 Oct 2010 10:23:23 +0000 (13:23 +0300)
commit7628e1e4330443ef15b48106c1e2c1b84ce6e4e3
treec9776296b22827bbbb5b218fa5e95d46f80fba8b
parentcbac74899019a2aa6283b8054891d3058e5d169c
document: Hide resource attachments/folders from static dirs.

If some attachment or folder references a res_model/res_id, it should
NOT be visible in the root directory (where it's parent_id points to).
This solves functional problems for the root folder, as well as the
privacy of those attachments.

bzr revid: p_christ@hol.gr-20101027102323-x4h20skrfjger9z7
addons/document/nodes.py