Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)

src/p/r/Products.membrane-2.1.11/Products/membrane/examples/simplegroup.py   Products.membrane(Download)
from Products.membrane.interfaces import user as user_ifaces
from Products.membrane.interfaces.group import IGroup
from Products.membrane.config import PROJECTNAME, TOOLNAME
from Products.membrane.utils import getFilteredValidRolesForPortal
 
    getRoleSet = getFilteredValidRolesForPortal
 
registerType(SimpleGroup, PROJECTNAME)
 

src/p/r/Products.membrane-2.1.11/Products/membrane/examples/__init__.py   Products.membrane(Download)
from Products.Archetypes.public import listTypes
 
from Products.membrane.config import PROJECTNAME
from Products.membrane.examples import simplemember
from Products.membrane.examples import simplegroup
def initialize(context):
 
    content_types, constructors, ftis = process_types(
        listTypes(PROJECTNAME), PROJECTNAME)
 

src/p/r/Products.membrane-2.1.11/Products/membrane/examples/simplemember.py   Products.membrane(Download)
     MultiSelectionWidget
 
from Products.membrane.config import PROJECTNAME
from Products.membrane.at.interfaces import IUserAuthProvider
from Products.membrane.at.interfaces import IUserAuthentication
 
 
registerType(SimpleMember, PROJECTNAME)
 

src/p/r/Products.membrane-2.1.11/Products/membrane/__init__.py   Products.membrane(Download)
from AccessControl.Permissions import add_user_folders
 
from Products.CMFCore.utils import ToolInit
 
from Products.membrane.config import PROJECTNAME

src/p/r/Products.membrane-2.1.11/Products/membrane/tests/__init__.py   Products.membrane(Download)
from Products.Archetypes.public import listTypes
 
from Products.membrane.config import PROJECTNAME
 
from Products.membrane.tests import dummy
def initialize(context):
 
    content_types, constructors, ftis = process_types(
        listTypes(PROJECTNAME), PROJECTNAME)
 

src/p/r/Products.membrane-2.1.11/Products/membrane/tests/dummy.py   Products.membrane(Download)
from Products.membrane.interfaces import user as user_ifaces
from Products.membrane.interfaces import group as group_ifaces
from Products.membrane.config import PROJECTNAME, TOOLNAME
 
 
        return DisplayList(value)
 
registerType(TestGroup, PROJECTNAME)
 
 
        user_ifaces.IMembraneUserDeleter)
 
registerType(TestMember, PROJECTNAME)
 
 
    security.declarePrivate('getGroupRelationships')
 
registerType(AlternativeTestMember, PROJECTNAME)
 
 
        return None
 
registerType(TestPropertyProvider, PROJECTNAME)