Back to index

plone3  3.1.7
Public Member Functions | Private Attributes
CMFCore.tests.test_PortalFolder._SensitiveSecurityPolicy Class Reference

List of all members.

Public Member Functions

def __init__
def validate
def checkPermission

Private Attributes

 _lambdas

Detailed Description

Definition at line 821 of file test_PortalFolder.py.


Constructor & Destructor Documentation

def CMFCore.tests.test_PortalFolder._SensitiveSecurityPolicy.__init__ (   self,
  validate_lambda,
  checkPermission_lambda 
)

Definition at line 823 of file test_PortalFolder.py.

00823 
00824     def __init__( self, validate_lambda, checkPermission_lambda ):
00825         self._lambdas = ( validate_lambda, checkPermission_lambda )


Member Function Documentation

Definition at line 831 of file test_PortalFolder.py.

00831 
00832     def checkPermission( self, *args, **kw ) :
00833         return self._lambdas[ 1 ]( *args, **kw )

Here is the caller graph for this function:

Definition at line 826 of file test_PortalFolder.py.

00826 
00827     def validate( self, *args, **kw ):
00828         if self._lambdas[ 0 ]( *args, **kw ):
00829             return True
00830         raise Unauthorized

Here is the caller graph for this function:


Member Data Documentation

Definition at line 824 of file test_PortalFolder.py.


The documentation for this class was generated from the following file: