paula: removed old per-repo trunk subdirs
[paula.git] / paula.plonepas / src / paula / plonepas / __init__.py
blob3ae6ce61976215e114402439fe380bc8282f2783
1 # Copyright (c) 2008 by Florian Friesdorf
3 # GNU Affero General Public License (AGPL)
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License as
7 # published by the Free Software Foundation; either version 3 of the
8 # License, or (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU Affero General Public License for more details.
15 # You should have received a copy of the GNU Affero General Public
16 # License along with this program. If not, see
17 # <http://www.gnu.org/licenses/>.
18 """
19 """
20 __author__ = "Florian Friesdorf <flo@chaoflow.net>"
21 __docformat__ = "plaintext"
24 from AccessControl.Permissions import add_user_folders
25 from Products.PluggableAuthService import registerMultiPlugin
27 from paula.plonepas.plugins import auth
28 from paula.plonepas.plugins import groups
29 from paula.plonepas.plugins import properties
32 def initialize(context):
33 """
34 """
35 registerMultiPlugin(auth.AuthenticationPlugin.meta_type)
37 context.registerClass(
38 auth.AuthenticationPlugin,
39 permission = add_user_folders,
40 #icon='www/paula.gif',
41 constructors = (
42 auth.manage_addAuthenticationPluginForm,
43 auth.addAuthenticationPlugin,
45 visibility = None,
49 registerMultiPlugin(groups.GroupsPlugin.meta_type)
51 context.registerClass(
52 groups.GroupsPlugin,
53 permission = add_user_folders,
54 #icon='www/paula.gif',
55 constructors = (
56 groups.manage_addGroupsPluginForm,
57 groups.addGroupsPlugin,
59 visibility = None,
63 registerMultiPlugin(properties.PropertiesPlugin.meta_type)
65 context.registerClass(
66 properties.PropertiesPlugin,
67 permission = add_user_folders,
68 #icon='www/paula.gif',
69 constructors = (
70 properties.manage_addPropertiesPluginForm,
71 properties.addPropertiesPlugin,
73 visibility = None,