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

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

src/f/t/ftw.lawgiver-1.2.2/ftw/lawgiver/meta.py   ftw.lawgiver(Download)
from AccessControl.security import PermissionDirective
from ftw.lawgiver.actiongroups import ActionGroupRegistry
from ftw.lawgiver.interfaces import IActionGroupRegistry
from ftw.lawgiver.interfaces import IDynamicRoleAdapter
from ftw.lawgiver.localroles import create_dynamic_role
    """
 
    role_utility_factory, role_adapter_factory = create_dynamic_role(name, permission)
 
    if permission is None: