diff options
| author | P. Christeas <p_christ@hol.gr> | 2010-11-23 17:42:12 +0200 |
|---|---|---|
| committer | P. Christeas <p_christ@hol.gr> | 2010-11-23 17:42:12 +0200 |
| commit | c5b99753eac61a300899430d0b0a7c234f92b7b6 (patch) | |
| tree | f51d5862b0f2d76546f733cbafcfcb6ac49ac3bf /addons/base_graph/static/lib/dhtmlxGraph/codebase | |
| parent | a62f0bede48c62c3ecb89e16cb0e7449302c6621 (diff) | |
ir.attachment: revise the access control code, let it be overriden
There was a fundamental problem when a user, through the 'document' module
would try to write into his personal folder; the res.users model won't be
writable by normal users. So, have all this code in a _single_ function,
which will be redefined by document.
Also follow the v6 API for access control, don't just lookup at ir.model.access.
Conflicts:
bin/addons/base/ir/ir_attachment.py
bzr revid: p_christ@hol.gr-20101123154212-pphsnyp2rsmbjf72
Diffstat (limited to 'addons/base_graph/static/lib/dhtmlxGraph/codebase')
0 files changed, 0 insertions, 0 deletions
