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

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

src/p/r/Products.remember-1.9.3/Products/remember/content/member_schema.py   Products.remember(Download)
        mode='rw',
        read_permission=permissions.VIEW_PUBLIC_PERMISSION,
        write_permission=permissions.EDIT_PROPERTIES_PERMISSION,
        index=('membrane_tool/ZCTextIndex,lexicon_id=member_lexicon,'
               'index_type=Cosine Measure|TextIndex:brains',
        mode='rw',
        read_permission=permissions.VIEW_PUBLIC_PERMISSION,
        write_permission=permissions.EDIT_PROPERTIES_PERMISSION,
        validators=('isEmail',),
        index=('membrane_tool/ZCTextIndex,lexicon_id=member_lexicon,'
        mode='rw',
        read_permission=permissions.VIEW_OTHER_PERMISSION,
        write_permission=permissions.EDIT_PROPERTIES_PERMISSION,
        vocabulary='editors',
        enforceVocabulary=1,
        default=None,
        read_permission=permissions.VIEW_OTHER_PERMISSION,
        write_permission=permissions.EDIT_PROPERTIES_PERMISSION,
        accessor='getPortalSkin',
        vocabulary='available_skins',
        max_size=(150, 150),
        read_permission=permissions.VIEW_PUBLIC_PERMISSION,
        write_permission=permissions.EDIT_PROPERTIES_PERMISSION,
        required=0,
        user_property=True,

src/p/r/Products.remember-1.9.3/Products/remember/content/member.py   Products.remember(Download)
from Products.remember.utils import removeAutoRoles
from Products.remember.permissions import CAN_AUTHENTICATE_PERMISSION
from Products.remember.permissions import EDIT_PROPERTIES_PERMISSION
from Products.remember.permissions import VIEW_PUBLIC_PERMISSION
from Products.remember.Extensions.workflow import triggerAutomaticTransitions
    security.declarePrivate('validate_roles')
 
    security.declareProtected(EDIT_PROPERTIES_PERMISSION, 'validate_email')
    def validate_email(self, value):
        """Validate the uniqueness of the email address.
            return validate_unique_email(self, value)
 
    security.declareProtected(EDIT_PROPERTIES_PERMISSION, 'setEmail')
    def setEmail(self, value):
        """Set the email of this member.
 
        self.update(**mapping)
    security.declareProtected(EDIT_PROPERTIES_PERMISSION, 'setProperties')
 
    def setMemberProperties(self, mapping):