Back to index

plone3  3.1.7
Classes | Functions | Variables
PluggableAuthService.plugins.ZODBRoleManager Namespace Reference

Classes

class  IZODBRoleManager
class  ZODBRoleManager
class  _ZODBRoleFilter

Functions

def addZODBRoleManager

Variables

tuple manage_addZODBRoleManagerForm

Function Documentation

def PluggableAuthService.plugins.ZODBRoleManager.addZODBRoleManager (   dispatcher,
  id,
  title = None,
  REQUEST = None 
)
Add a ZODBRoleManager to a Pluggable Auth Service. 

Definition at line 47 of file ZODBRoleManager.py.

00047 
00048 def addZODBRoleManager( dispatcher, id, title=None, REQUEST=None ):
00049     """ Add a ZODBRoleManager to a Pluggable Auth Service. """
00050 
00051     zum = ZODBRoleManager(id, title)
00052     dispatcher._setObject(zum.getId(), zum)
00053 
00054     if REQUEST is not None:
00055         REQUEST['RESPONSE'].redirect(
00056                                 '%s/manage_workspace'
00057                                 '?manage_tabs_message='
00058                                 'ZODBRoleManager+added.'
00059                             % dispatcher.absolute_url())


Variable Documentation

Initial value:
00001 PageTemplateFile(
00002     'www/zrAdd', globals(), __name__='manage_addZODBRoleManagerForm' )

Definition at line 44 of file ZODBRoleManager.py.