From 6b9b2274e52d832de90829d89919ac9ad25d0f98 Mon Sep 17 00:00:00 2001 From: andreparames Date: Sat, 28 Nov 2015 17:13:40 +0000 Subject: [PATCH] [FIX] doc: http.route auth=public instead of admin Removed the `admin` option, since it was removed on 04a5264, and added the option `public`. Fixes #9688 --- openerp/http.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openerp/http.py b/openerp/http.py index 6a832d8f6f9..969186ef9ca 100644 --- a/openerp/http.py +++ b/openerp/http.py @@ -378,8 +378,8 @@ def route(route=None, **kw): * ``user``: The user must be authenticated and the current request will perform using the rights of the user. - * ``admin``: The user may not be authenticated and the current request - will perform using the admin user. + * ``public``: The user may or may not be authenticated. If she isn't, + the current request will perform using the shared Public user. * ``none``: The method is always active, even if there is no database. Mainly used by the framework and authentication modules. There request code will not have any facilities to access