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

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

src/p/r/Products.PluggableAuthService-1.10.0/Products/PluggableAuthService/permissions.py   Products.PluggableAuthService(Download)
    else:
        # BBB This is in AccessControl starting in Zope 2.13
        from AccessControl.Permission import _registeredPermissions
        from AccessControl.Permission import pname
        from AccessControl.Permission import ApplicationDefaultPermissions

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/permissions.py   Products.CMFCore(Download)
 
from AccessControl import Permissions
from AccessControl.Permission import _registeredPermissions
from AccessControl.Permission import ApplicationDefaultPermissions
from AccessControl.Permission import pname

src/c/o/collective.autopermission-1.0b2/collective/autopermission/permissions.py   collective.autopermission(Download)
import Products
from AccessControl.Permission import _registeredPermissions
from AccessControl.Permission import pname
from AccessControl.Permission import ApplicationDefaultPermissions
 

src/e/r/erp5-HEAD/product/ERP5Type/Tool/ComponentTool.py   erp5(Download)
    # XXX-Cosmetic: From Zope >= 2.13, getPermissions() can be used instead of
    # protected _registeredPermissions module attribute
    from AccessControl.Permission import _registeredPermissions, pname
    for permission_name in _registeredPermissions:
      if permission_name == 'Reset dynamic classes':

src/p/r/Products.WatermarkImage-1.0/Products/WatermarkImage/permissions.py   Products.WatermarkImage(Download)
from AccessControl import ModuleSecurityInfo
from AccessControl import Permissions
from AccessControl.Permission import _registeredPermissions
from AccessControl.Permission import pname
from Globals import ApplicationDefaultPermissions

src/h/o/hoka.browser.pcheck-2.13.19.3/hoka/browser/pcheck/browser.py   hoka.browser.pcheck(Download)
from hoka.browser.base import *
from AccessControl import Unauthorized
from AccessControl.SecurityManagement import getSecurityManager
from AccessControl.Permission import _registeredPermissions