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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/l/i/Live-Blog-HEAD/plugins/superdesk-security/__plugin__/superdesk_security/patch_ally_core.py   Live-Blog(Download)
'''
 
from .service import assemblyGateways, updateAssemblyGateways, \
    registerMethodOverride, updateAssemblyActiveRights, assemblyActiveRights, \
    registerDefaultRights, userValueForFilter
    def updateAssemblyGatewaysForResources():
        assemblyGateways().add(iterateResourcePermissions(), authenticatedForPermissions(), userValueForFilter(),
                               alternateNavigationPermissions(), gatewaysFromPermissions(), before=registerMethodOverride())
 
    @ioc.after(updateAssemblyActiveRights)

src/l/i/liveblog-1.5.0/__plugin__/superdesk_security/patch_ally_core.py   liveblog(Download)
'''
 
from .service import assemblyGateways, updateAssemblyGateways, \
    registerMethodOverride, updateAssemblyActiveRights, assemblyActiveRights, \
    registerDefaultRights, userValueForFilter
    def updateAssemblyGatewaysForResources():
        assemblyGateways().add(iterateResourcePermissions(), authenticatedForPermissions(), userValueForFilter(),
                               alternateNavigationPermissions(), gatewaysFromPermissions(), before=registerMethodOverride())
 
    @ioc.after(updateAssemblyActiveRights)