From 70a23ba6e872ae03988caa322f8dd2b03770515c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Wed, 1 Jul 2020 18:33:12 -0400 Subject: add tests and docs --- docs/narr/viewconfig.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/narr') diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst index c60b7b50d..2dd5bfb9e 100644 --- a/docs/narr/viewconfig.rst +++ b/docs/narr/viewconfig.rst @@ -496,7 +496,11 @@ configured view. ``is_authenticated`` - XXX doc doc + This value, if specified, must be either ``True`` or ``False``. If it is + specified and is ``True``, the request must be for an authenticated user, + as determined by the :term:`security policy` in use. If it is specified and + ``False``, the associated view callable will be invoked only if the request + does not have an authenticated user. .. versionadded:: 2.0 @@ -511,7 +515,7 @@ configured view. .. versionadded:: 1.4a4 - .. deprecated:: TODO add + .. deprecated:: 2.0 ``custom_predicates`` If ``custom_predicates`` is specified, it must be a sequence of references to -- cgit v1.2.3