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/m/e/metnav-4.0.1/metnav/tool.py   metnav(Download)
from AccessControl import ClassSecurityInfo
from DocumentTemplate.DT_Util import html_quote
from AccessControl import Unauthorized, getSecurityManager, SpecialUsers
from ZODB.POSException import ConflictError
from AccessControl.SecurityManagement import newSecurityManager

src/e/e/eea.sparql-3.3/eea/sparql/content/sparql.py   eea.sparql(Download)
import datetime, pytz
from AccessControl import ClassSecurityInfo
from AccessControl import SpecialUsers
from AccessControl import getSecurityManager
from AccessControl.SecurityManagement import newSecurityManager, setSecurityManager

src/a/c/AccessControl-3.0.8/src/AccessControl/users.py   AccessControl(Download)
 
from AccessControl import AuthEncoding
from AccessControl import SpecialUsers
from .interfaces import IUser
from .PermissionRole import _what_not_even_god_should_do

src/c/o/collective.contentrules.yearmonth-1.1/collective/contentrules/yearmonth/target_folder.py   collective.contentrules.yearmonth(Download)
from datetime import datetime
from AccessControl import SecurityManagement
from AccessControl import SpecialUsers
 
from zope.interface import Interface

src/a/c/AccessControl-3.0.8/src/AccessControl/owner.py   AccessControl(Download)
from AccessControl.SecurityManagement import getSecurityManager
# avoid importing 'emergency_user' / 'nobody'  before set
from AccessControl import SpecialUsers as SU
 
UnownableOwner=[]

src/p/r/Products.PloneGazette-3.2.1/Products/PloneGazette/PNLUtils.py   Products.PloneGazette(Download)
"""Misc utilities"""
from AccessControl import SpecialUsers
 
 
def checkMailAddress(obj, someAddr):

src/f/t/ftw.participation-1.3.1/ftw/participation/browser/invitations.py   ftw.participation(Download)
from AccessControl import SpecialUsers
from Products.CMFCore.utils import getToolByName
from Products.Five.browser import BrowserView
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
from Products.statusmessages.interfaces import IStatusMessage

src/c/o/collective.upgrade-1.0/src/collective/upgrade/run.py   collective.upgrade(Download)
        kw['enable_link_integrity_checks'] = False
 
    from AccessControl import SpecialUsers
    from AccessControl.SecurityManagement import newSecurityManager
    newSecurityManager(None, SpecialUsers.system)

src/p/r/Products.contentmigration-2.1.8/Products/contentmigration/basemigrator/migrator.py   Products.contentmigration(Download)
from zExceptions import BadRequest
from AccessControl.Permission import Permission
from AccessControl import SpecialUsers
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.CMFCatalogAware import WorkflowAware

src/c/o/collective.upgrade-HEAD/src/collective/upgrade/run.py   collective.upgrade(Download)
        kw['enable_link_integrity_checks'] = False
 
    from AccessControl import SpecialUsers
    from AccessControl.SecurityManagement import newSecurityManager
    newSecurityManager(None, SpecialUsers.system)

  1 | 2  Next