from AccessControl.Permissions import manage_users as ManageUsers
from Products.PluggableAuthService.PluggableAuthService import registerMultiPlugin

# Monkey patches for pySAML2
import patches

import plugin
registerMultiPlugin(plugin.SuisseIDPlugin.meta_type)

def initialize(context):
    # TODO: Condition on saml2 import
    context.registerClass(plugin.SuisseIDPlugin,
                            permission=ManageUsers,
                            constructors=
                                    (plugin.manage_addSuisseIDPlugin,
                                     plugin.addSuisseIDPlugin),
                            visibility=None,
                            icon="www/suisseid.png")


46fa9f1d8c36b620628ccaa36ccc9365d5c38108
<mask token>

<mask token>


def initialize(context):
    context.registerClass(plugin.SuisseIDPlugin, permission=ManageUsers,
        constructors=(plugin.manage_addSuisseIDPlugin, plugin.
        addSuisseIDPlugin), visibility=None, icon='www/suisseid.png')

<mask token>
registerMultiPlugin(plugin.SuisseIDPlugin.meta_type)


def initialize(context):
    context.registerClass(plugin.SuisseIDPlugin, permission=ManageUsers,
        constructors=(plugin.manage_addSuisseIDPlugin, plugin.
        addSuisseIDPlugin), visibility=None, icon='www/suisseid.png')

from AccessControl.Permissions import manage_users as ManageUsers
from Products.PluggableAuthService.PluggableAuthService import registerMultiPlugin
import patches
import plugin
registerMultiPlugin(plugin.SuisseIDPlugin.meta_type)


def initialize(context):
    context.registerClass(plugin.SuisseIDPlugin, permission=ManageUsers,
        constructors=(plugin.manage_addSuisseIDPlugin, plugin.
        addSuisseIDPlugin), visibility=None, icon='www/suisseid.png')

from AccessControl.Permissions import manage_users as ManageUsers
from Products.PluggableAuthService.PluggableAuthService import registerMultiPlugin

# Monkey patches for pySAML2
import patches

import plugin
registerMultiPlugin(plugin.SuisseIDPlugin.meta_type)

def initialize(context):
    # TODO: Condition on saml2 import
    context.registerClass(plugin.SuisseIDPlugin,
                            permission=ManageUsers,
                            constructors=
                                    (plugin.manage_addSuisseIDPlugin,
                                     plugin.addSuisseIDPlugin),
                            visibility=None,
                            icon="www/suisseid.png")

