From 1dd5ab89c13d0480e863aa7853d35c7f5492f5e1 Mon Sep 17 00:00:00 2001 From: Daniel Haaker Date: Mon, 12 Sep 2011 21:58:19 +0200 Subject: explain NO_PERMISSION_REQUIRED constant in API docs --- docs/api/security.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/api/security.rst b/docs/api/security.rst index 8cd9e5dae..7086690e9 100644 --- a/docs/api/security.rst +++ b/docs/api/security.rst @@ -59,6 +59,12 @@ Constants .. attribute:: NO_PERMISSION_REQUIRED + A special permission which indicates that the view should always + be executable by entirely anonymous users, regardless of the + default permission, bypassing any :term:`authorization policy` + that may be in effect. Its actual value is the string + '__no_permission_required__'. + Return Values ------------- -- cgit v1.2.3