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

All Samples(10)  |  Call(2)  |  Derive(3)  |  Import(5)
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/g/o/gocept.fssyncz2-1.6/3rdparty/Products/CookieUserFolder/CookieUserFolder.py   gocept.fssyncz2(Download)
from Acquisition import aq_inner, aq_parent
from AccessControl.ZopeSecurityPolicy import _noroles
from AccessControl.User import UserFolder, BasicUserFolder
from Globals import DTMLFile, InitializeClass, package_home, MessageDialog
 
 
class CookieUserFolder(ObjectManager, UserFolder):

src/p/r/Products.CMFDefault-2.3.0-beta2/Products/CMFDefault/upgrade/to23.py   Products.CMFDefault(Download)
def check_acl_users(tool):
    """2.2.x to 2.3.0 upgrade step checker
    """
    from AccessControl.User import UserFolder as OldUserFolder
 
def upgrade_acl_users(tool):
    """2.2.x to 2.3.0 upgrade step handler
    """
    from AccessControl.User import UserFolder as OldUserFolder
 

src/i/s/IssueTrackerProduct-0.14.2/IssueTrackerProduct/IssueUserFolder.py   IssueTrackerProduct(Download)
class IssueUserFolder(User.UserFolder):
    """ user folder for managing IssueUsers """
 
    meta_type = ISSUEUSERFOLDER_METATYPE
 

src/i/s/IssueTrackerProduct-HEAD/IssueTrackerProduct/IssueUserFolder.py   IssueTrackerProduct(Download)
class IssueUserFolder(User.UserFolder):
    """ user folder for managing IssueUsers """
 
    meta_type = ISSUEUSERFOLDER_METATYPE
 

src/e/r/erp5-HEAD/product/ERP5Type/tests/testCookieCrumbler.py   erp5(Download)
from OFS.Folder import Folder
from zExceptions.unauthorized import Unauthorized
from AccessControl.User import UserFolder
from AccessControl.SecurityManagement import noSecurityManager
from ZPublisher.HTTPRequest import HTTPRequest
    root._View_Permission = ('Anonymous',)
 
    users = UserFolder()
    users._setId('acl_users')
    users._doAddUser('abraham', 'pass-w', ('Patriarch',), ())

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_CookieCrumbler.py   Products.CMFCore(Download)
        except ImportError:
            # BBB for Zope < 2.13
            from AccessControl.User import UserFolder
 
        from OFS.Folder import Folder
        root._View_Permission = ('Anonymous',)
 
        users = UserFolder()
        users._setId('acl_users')
        users._doAddUser('abraham', 'pass-w', ('Patriarch',), ())