openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #02457
Re: AccessDenied on OpenERP 6.1's XMLRPC on specific database
-
To:
openerp-community@xxxxxxxxxxxxxxxxxxx
-
From:
Holger Brunn <hbrunn@xxxxxxxx>
-
Date:
Thu, 21 Mar 2013 07:38:44 +0100
-
In-reply-to:
<CAO4fbM98B26PAyhXEx=p2aK2NzAE3CeWW_DnemooHLKy+9fOwQ@mail.gmail.com>
-
Organization:
Therp
-
User-agent:
KMail/1.13.7 (Linux/3.7-trunk-amd64; KDE/4.8.4; x86_64; ; )
> But when a "*read*" operation is executed, the request is logged but no
> response is generated, no error appears in log file, and the "AccessDenied"
> is sent to the XMLRPC client:
>
> 2013-03-21 04:44:08,898 21656 INFO ? werkzeug: 192.168.1.52 - -
> [21/Mar/2013 04:44:08] "POST /xmlrpc/object HTTP/1.0" 200 -
> 2013-03-21 04:44:08,901 21656 DEBUG ? openerp.netsvc.rpc.request:
> object.execute('MDI', 1, '*', 'res.company', 'read', [1], ['currency_id'])
>
> (No debug message about response generation when a "read" operation is
> performed).
>
> I have no idea why these AccessDenied are not logged and why the response
> is not being generated and logged correctly.
>
> *Another hint to get fine-grained debug logs?*
the parameter --log-sql makes the server log every sql statement issued, this
creates a lot of noise but should help.
Given that the last thing is trying to read the company's currency_id, did you
verify the permissions for res.currency?
--
Therp - Maatwerk in open ontwikkeling
Holger Brunn - Ontwerp en implementatie
mail: holger@xxxxxxxx
web: http://therp.nl
References