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

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
Register roles provider.

roles provider accepts userid and registry and returns
sequence of roles.

:param name: Unique name

Roles provider interface :py:func:`ptah.interfaces.roles_provider`.

.. code-block:: python(more...)

src/p/t/ptah-0.8.0/ptah/__init__.py   ptah(Download)
from ptah.security import get_roles
from ptah.security import get_local_roles
from ptah.security import roles_provider
from ptah.interfaces import IOwnersAware
from ptah.interfaces import ILocalRolesAware

src/p/t/ptah-HEAD/ptah/__init__.py   ptah(Download)
from ptah.security import get_roles
from ptah.security import get_local_roles
from ptah.security import roles_provider
from ptah.interfaces import IOwnersAware
from ptah.interfaces import ILocalRolesAware