Back to index

plone3  3.1.7
__init__.py
Go to the documentation of this file.
00001 from AccessControl.Permissions import add_user_folders
00002 from Products.PluggableAuthService.PluggableAuthService import registerMultiPlugin
00003 from plone.session.plugins import session
00004 
00005 
00006 registerMultiPlugin(session.SessionPlugin.meta_type)
00007 
00008 
00009 def initialize(context):
00010     context.registerClass(session.SessionPlugin,
00011             permission = add_user_folders,
00012             constructors = (session.manage_addSessionPluginForm,
00013                             session.manage_addSessionPlugin),
00014             visibility = None)
00015