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

All Samples(10)  |  Call(4)  |  Derive(2)  |  Import(4)
Standard UserFolder object

A UserFolder holds User objects which contain information
about users including name, password domain, and roles.
UserFolders function chiefly to control access by authenticating
users and binding them to a collection of roles.

src/z/o/Zope2-2.13.22/src/OFS/userfolder.py   Zope2(Download)
class UserFolder(accesscontrol_userfolder.UserFolder, BasicUserFolder):
    """Standard UserFolder object
 
    A UserFolder holds User objects which contain information
    about users including name, password domain, and roles.

src/z/o/Zope-HEAD/src/OFS/userfolder.py   Zope(Download)
class UserFolder(accesscontrol_userfolder.UserFolder, BasicUserFolder):
    """Standard UserFolder object
 
    A UserFolder holds User objects which contain information
    about users including name, password domain, and roles.

src/p/l/plone.app.contentrules-3.0.7/plone/app/contentrules/handlers.py   plone.app.contentrules(Download)
from Products.CMFCore.utils import getToolByName
from Products.ZCTextIndex.interfaces import IZCLexicon
from AccessControl.userfolder import UserFolder
 
try:

src/a/c/AccessControl-3.0.8/src/AccessControl/tests/test_userfolder.py   AccessControl(Download)
    def _getTargetClass(self):
        from AccessControl.userfolder import UserFolder
        return UserFolder
 
    def _makeOne(self):

src/a/c/AccessControl-3.0.8/src/AccessControl/tests/testZopeSecurityPolicy.py   AccessControl(Download)
from zExceptions import Unauthorized
 
from AccessControl.userfolder import UserFolder
from AccessControl.SecurityManagement import SecurityContext
 
        a.item2 = PartlyProtectedSimpleItem2()
        a.item3 = PartlyProtectedSimpleItem3()
        uf = UserFolder()
        a.acl_users = uf
        self.uf = a.acl_users
    def test_checkPermission_proxy_role_scope(self):
        self.a.subobject = ImplictAcqObject()
        subobject = self.a.subobject
        subobject.acl_users = UserFolder()
        subobject.acl_users._doAddUser('theowner', 'password', 
    def testProxyRoleScope(self):
        self.a.subobject = ImplictAcqObject()
        subobject = self.a.subobject
        subobject.acl_users = UserFolder()
        subobject.acl_users._doAddUser('theowner', 'password',

src/a/c/AccessControl-3.0.8/src/AccessControl/tests/testOwned.py   AccessControl(Download)
    def setUp(self):
        from AccessControl.owner import UnownableOwner
        from AccessControl.userfolder import UserFolder
        super(OwnershipChangeTests, self).setUp()
 
        self.root = FauxRoot()
        self.root.acl_users = UserFolder()