Back to index

plone3  3.1.7
Namespaces | Functions
PlonePAS Namespace Reference

Namespaces

namespace  browser
namespace  config
namespace  events
namespace  Extensions
namespace  gruf_support
namespace  interfaces
namespace  ldapmp
namespace  MigrationCheck
namespace  odict
namespace  pas
namespace  patch
namespace  plugins
namespace  setuphandlers
namespace  sheet
namespace  storage
namespace  tests
namespace  tools
namespace  utils

Functions

def initialize
 register plugins with pas

Function Documentation

def PlonePAS.initialize (   context)

register plugins with pas

Definition at line 85 of file __init__.py.

00085 
00086 def initialize(context):
00087 
00088     tools = ( GroupsTool, GroupDataTool, MembershipTool, MemberDataTool )
00089 
00090     plone_utils.ToolInit('PlonePAS Tool',
00091                          tools=tools,
00092                          icon='tool.gif',
00093                          ).initialize(context)
00094 
00095     context.registerClass( role.GroupAwareRoleManager,
00096                            permission = add_user_folders,
00097                            constructors = ( role.manage_addGroupAwareRoleManagerForm,
00098                                             role.manage_addGroupAwareRoleManager ),
00099                            visibility = None
00100                            )
00101 
00102     context.registerClass( gruf.GRUFBridge,
00103                            permission = add_user_folders,
00104                            constructors = ( gruf.manage_addGRUFBridgeForm,
00105                                             gruf.manage_addGRUFBridge ),
00106                            visibility = None
00107                            )
00108 
00109     context.registerClass( user.UserManager,
00110                            permission = add_user_folders,
00111                            constructors = ( user.manage_addUserManagerForm,
00112                                             user.manage_addUserManager ),
00113                            visibility = None
00114                            )
00115 
00116     context.registerClass( group.GroupManager,
00117                            permission = add_user_folders,
00118                            constructors = ( group.manage_addGroupManagerForm,
00119                                             group.manage_addGroupManager ),
00120                            visibility = None
00121                            )
00122 
00123     context.registerClass( ufactory.PloneUserFactory,
00124                            permission = add_user_folders,
00125                            constructors = ( ufactory.manage_addPloneUserFactoryForm,
00126                                             ufactory.manage_addPloneUserFactory ),
00127                            visibility = None
00128                            )
00129 
00130     context.registerClass( local_role.LocalRolesManager,
00131                            permission = add_user_folders,
00132                            constructors = ( local_role.manage_addLocalRolesManagerForm,
00133                                             local_role.manage_addLocalRolesManager ),
00134                            visibility = None
00135                            )
00136 
00137     context.registerClass( property.ZODBMutablePropertyProvider,
00138                            permission = add_user_folders,
00139                            constructors = ( property.manage_addZODBMutablePropertyProviderForm,
00140                                             property.manage_addZODBMutablePropertyProvider ),
00141                            visibility = None
00142                            )
00143 
00144     context.registerClass( crumbler.CookieCrumblingPlugin,
00145                            permission = add_user_folders,
00146                            constructors = ( crumbler.manage_addCookieCrumblingPluginForm,
00147                                             crumbler.manage_addCookieCrumblingPlugin ),
00148                            visibility = None
00149                            )
00150 
00151     context.registerClass( cookie_handler.ExtendedCookieAuthHelper,
00152                            permission = add_user_folders,
00153                            constructors = ( cookie_handler.manage_addExtendedCookieAuthHelperForm,
00154                                             cookie_handler.manage_addExtendedCookieAuthHelper ),
00155                            visibility = None
00156                            )
00157                            
00158 
00159     context.registerClass( autogroup.AutoGroup,
00160                            permission = add_user_folders,
00161                            constructors = ( autogroup.manage_addAutoGroupForm,
00162                                             autogroup.manage_addAutoGroup ),
00163                            visibility = None
00164                            )