From 312804eed59eef30c1772f484aac1a60f8da3bbf Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 19 Oct 2009 02:01:41 +0000 Subject: Organize into separate authentication and authorization sections. --- docs/api/security.rst | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/api/security.rst b/docs/api/security.rst index 2261155b0..f29d66464 100644 --- a/docs/api/security.rst +++ b/docs/api/security.rst @@ -5,26 +5,28 @@ .. automodule:: repoze.bfg.security -API Functions -~~~~~~~~~~~~~ +Authentication API Functions +---------------------------- .. autofunction:: authenticated_userid .. autofunction:: effective_principals -.. autofunction:: has_permission - -.. autofunction:: principals_allowed_by_permission - .. autofunction:: forget .. autofunction:: remember -.. autofunction:: view_execution_permitted +Authorization API Functions +--------------------------- +.. autofunction:: has_permission + +.. autofunction:: principals_allowed_by_permission + +.. autofunction:: view_execution_permitted Constants -~~~~~~~~~ +--------- .. attribute:: Everyone @@ -54,7 +56,7 @@ Constants policy, representing the concept "don't inherit any other ACEs". Return Values -~~~~~~~~~~~~~ +------------- .. attribute:: Allow -- cgit v1.2.3