[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
This commit is contained in:
andreparames 2015-11-28 17:13:40 +00:00 committed by Martin Trigaux
parent 16dbef4a13
commit 6b9b2274e5
1 changed files with 2 additions and 2 deletions

View File

@ -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