Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions | Private Attributes
PluggableAuthService.plugins.tests.test_RecursiveGroupsPlugin.FauxPAS Class Reference
Inheritance diagram for PluggableAuthService.plugins.tests.test_RecursiveGroupsPlugin.FauxPAS:
Inheritance graph
[legend]
Collaboration diagram for PluggableAuthService.plugins.tests.test_RecursiveGroupsPlugin.FauxPAS:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__

Private Member Functions

def _getGroupsForPrincipal

Private Attributes

 _id

Detailed Description

Definition at line 24 of file test_RecursiveGroupsPlugin.py.


Constructor & Destructor Documentation

Definition at line 26 of file test_RecursiveGroupsPlugin.py.

00026 
00027     def __init__( self ):
00028         self._id = 'acl_users'
        

Member Function Documentation

def PluggableAuthService.plugins.tests.test_RecursiveGroupsPlugin.FauxPAS._getGroupsForPrincipal (   self,
  principal,
  request = None,
  plugins = None,
  ignore_plugins = None 
) [private]

Definition at line 30 of file test_RecursiveGroupsPlugin.py.

00030 
00031                               , ignore_plugins=None ):
00032         all_groups = []
00033 
00034         if ignore_plugins is None:
00035             ignore_plugins = ()
00036 
00037         for plugin in self.objectValues():
00038             if plugin.getId() in ignore_plugins:
00039                 continue
00040             groups = plugin.getGroupsForPrincipal( principal, request )
00041             groups = [ '%s:%s' % ( plugin.getId(), x ) for x in groups ]
00042             all_groups.extend( groups )
00043 
00044         return all_groups

Here is the call graph for this function:


Member Data Documentation

Definition at line 27 of file test_RecursiveGroupsPlugin.py.


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