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

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

        def check_access(userid, request):
    manager = ptah.get_settings(ptah.CFG_ID_PTAH).get('access_manager')
    if manager is not None:
        return manager(userid, request)
    return False
        


src/p/t/ptah-0.8.0/ptah/manage/__init__.py   ptah(Download)
from ptah.manage.manage import PtahManageRoute
 
from ptah.manage.manage import check_access
from ptah.manage.manage import set_access_manager
from ptah.manage.manage import PtahAccessManager

src/p/t/ptah-HEAD/ptah/manage/__init__.py   ptah(Download)
from ptah.manage.manage import PtahManageRoute
 
from ptah.manage.manage import check_access
from ptah.manage.manage import set_access_manager
from ptah.manage.manage import PtahAccessManager