src/pyams_security/security.py
changeset 84 2d928c3189c0
parent 44 b999bd4dd461
child 93 be0b2504aaf3
equal deleted inserted replaced
83:ddcb2ea9392b 84:2d928c3189c0
    23 
    23 
    24 # import packages
    24 # import packages
    25 from persistent import Persistent
    25 from persistent import Persistent
    26 from persistent.dict import PersistentDict
    26 from persistent.dict import PersistentDict
    27 from pyams_utils.adapter import adapter_config
    27 from pyams_utils.adapter import adapter_config
    28 from pyams_utils.property import request_property
       
    29 from pyams_utils.registry import query_utility
    28 from pyams_utils.registry import query_utility
       
    29 from pyams_utils.request import request_property
    30 from pyramid.location import lineage
    30 from pyramid.location import lineage
    31 from pyramid.security import DENY_ALL, Everyone, Allow, Deny, ALL_PERMISSIONS, Authenticated
    31 from pyramid.security import DENY_ALL, Everyone, Allow, Deny, ALL_PERMISSIONS, Authenticated
    32 from pyramid.threadlocal import get_current_registry
    32 from pyramid.threadlocal import get_current_registry
    33 from zope.container.contained import Contained
    33 from zope.container.contained import Contained
    34 from zope.interface import implementer
    34 from zope.interface import implementer