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

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

src/a/c/AccessControl-3.0.8/src/AccessControl/ImplPython.py   AccessControl(Download)
from AccessControl.interfaces import ISecurityManager
from AccessControl.SimpleObjectPolicies import Containers
from AccessControl.SimpleObjectPolicies import _noroles
from AccessControl.ZopeGuards import guarded_getitem
 

src/a/c/AccessControl-3.0.8/src/AccessControl/ZopeSecurityPolicy.py   AccessControl(Download)
# AccessControl.Implementation inserts:
#   ZopeSecurityPolicy, getRoles, rolesForPermissionOn
from AccessControl.SimpleObjectPolicies import _noroles
 
rolesForPermissionOn = None  # XXX:  avoid import loop

src/a/c/AccessControl-3.0.8/src/AccessControl/SecurityManager.py   AccessControl(Download)
 
from AccessControl import ImplPython as _ImplPython
from AccessControl.SimpleObjectPolicies import _noroles
 
 

src/a/c/AccessControl-3.0.8/src/AccessControl/interfaces.py   AccessControl(Download)
"""
 
from AccessControl.SimpleObjectPolicies import _noroles
from zope.interface import Attribute
from zope.interface import Interface

src/a/c/AccessControl-3.0.8/src/AccessControl/tests/testSecurityManager.py   AccessControl(Download)
    def test_validate_without_roles_delegates_to_policy(self):
        from AccessControl.SimpleObjectPolicies import _noroles
 
        context = DummyContext()
        ACCESSED = object()
    def test_validate_with_roles_delegates_to_policy(self):
        from AccessControl.SimpleObjectPolicies import _noroles
 
        context = DummyContext()
        ACCESSED = object()
    def test_DTMLValidate_delegates_to_policy_validate(self):
        from AccessControl.SimpleObjectPolicies import _noroles
 
        context = DummyContext()
        ACCESSED = object()