[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:
parent
16dbef4a13
commit
6b9b2274e5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue