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

All Samples(837)  |  Call(179)  |  Derive(1)  |  Import(657)
Access control exceptions

src/p/r/prdg.zope.permissions-0.0.1/prdg/zope/permissions.py   prdg.zope.permissions(Download)
"""An user-friendlier API for roles and permissions."""
from AccessControl.PermissionRole import rolesForPermissionOn
from AccessControl import getSecurityManager, unauthorized
from Products.CMFCore.utils import getToolByName