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

All Samples(13)  |  Call(0)  |  Derive(0)  |  Import(13)
Place to find special users

This is needed to avoid a circular import problem.  The 'real' values
are stored here by the AccessControl.User module as part of its
initialization.

src/p/r/Products.contentmigration-2.1.8/Products/contentmigration/inplace.py   Products.contentmigration(Download)
from ZODB.POSException import ConflictError
from AccessControl.Permission import Permission
from AccessControl import SpecialUsers
 
from Products.CMFCore.utils import getToolByName

src/e/r/erp5-HEAD/product/ERP5Workflow/tests/testERP5Workflow.py   erp5(Download)
from AccessControl.SecurityManagement import newSecurityManager
from AccessControl import Unauthorized
from AccessControl import SpecialUsers
 
class TestERP5Workflow(ERP5TypeTestCase):

src/e/r/erp5-HEAD/product/ERP5Type/tests/SecurityTestCase.py   erp5(Download)
from AccessControl.SecurityManagement import getSecurityManager
from AccessControl.SecurityManagement import setSecurityManager
from AccessControl import SpecialUsers
from Products.DCWorkflow.Transitions import TRIGGER_USER_ACTION
 

Previous  1 | 2