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

All Samples(7)  |  Call(0)  |  Derive(3)  |  Import(4)
An object that has configurable permissions

src/a/c/AccessControl-3.0.8/src/AccessControl/userfolder.py   AccessControl(Download)
from AccessControl.Permissions import manage_users as ManageUsers
from AccessControl.rolemanager import DEFAULTMAXLISTUSERS
from AccessControl.rolemanager import RoleManager
from AccessControl.SecurityManagement import getSecurityManager
from AccessControl.SecurityManagement import newSecurityManager
class BasicUserFolder(Implicit, Persistent, RoleManager):
    """Base class for UserFolder-like objects"""
 
    meta_type = 'User Folder'
    id = 'acl_users'

src/z/o/Zope2-2.13.22/src/OFS/role.py   Zope2(Download)
from AccessControl import ClassSecurityInfo
from AccessControl.class_init import InitializeClass
from AccessControl.rolemanager import RoleManager as BaseRoleManager
from AccessControl.rolemanager import reqattr
from AccessControl.Permission import Permission
from AccessControl.Permissions import change_permissions
from AccessControl.requestmethod import requestmethod
 
 
class RoleManager(BaseRoleManager):

src/z/o/Zope-HEAD/src/OFS/role.py   Zope(Download)
from AccessControl import ClassSecurityInfo
from AccessControl.class_init import InitializeClass
from AccessControl.rolemanager import RoleManager as BaseRoleManager
from AccessControl.rolemanager import reqattr
from AccessControl.Permission import Permission
from AccessControl.Permissions import change_permissions
from AccessControl.requestmethod import requestmethod
 
 
class RoleManager(BaseRoleManager):

src/a/c/AccessControl-3.0.8/src/AccessControl/tests/testRole.py   AccessControl(Download)
    def test_interfaces(self):
        from AccessControl.interfaces import IRoleManager
        from AccessControl.rolemanager import RoleManager
        from zope.interface.verify import verifyClass