~florian-dacosta/server-env-tools/sql_query_export_csv_file

Viewing all changes in revision 66.

  • Committer: Stefan Rijnhart
  • Author(s): hbrunn at therp
  • Date: 2014-04-02 08:22:09 UTC
  • mfrom: (53.1.8 7.0-auth_from_http_basic)
  • Revision ID: stefan@therp.nl-20140402082209-s105hrv8fpikbug6
[ADD] HTTP Basic auth for OpenERP. One module picks up the HTTP authorization
header and tries to login the user with the credentials given. Usually,
you would have a setup that your OpenERP instance sits behind a proxy
that does the authentication and passes it on via those headers.

The second modifies the logout procedure to clear the browser's credential
cache for basic authentication for the site OpenERP is running on.

It is split into two modules because of the web client's habit of loading
all addons which have a static directory, resulting in always executing
auth_from_http_basic's monkey patch. This way the user has to consciously
decide to load the addon.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: