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

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
return list of registered roles 

        def get_roles():
    """ return list of registered roles """
    return config.get_cfg_storage(ID_ROLE)
        


src/p/t/ptah-0.8.0/ptah/__init__.py   ptah(Download)
# role
from ptah.security import Role
from ptah.security import get_roles
from ptah.security import get_local_roles
from ptah.security import roles_provider

src/p/t/ptah-HEAD/ptah/__init__.py   ptah(Download)
# role
from ptah.security import Role
from ptah.security import get_roles
from ptah.security import get_local_roles
from ptah.security import roles_provider