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

All Samples(29)  |  Call(0)  |  Derive(0)  |  Import(29)
Class for special users, like emergency user and nobody

src/s/e/seantis.dir.events-1.2.1/seantis/dir/events/unrestricted.py   seantis.dir.events(Download)
from AccessControl import ClassSecurityInfo, getSecurityManager
from AccessControl.SecurityManagement import newSecurityManager, setSecurityManager
from AccessControl.User import nobody
from AccessControl.User import UnrestrictedUser as BaseUnrestrictedUser
 

src/c/o/collective.barcamp-0.1/collective/barcamp/unrestrictor.py   collective.barcamp(Download)
# http://plone.org/documentation/manual/plone-community-developer-documentation/security-1/permissions
 
from AccessControl import ClassSecurityInfo, getSecurityManager
from AccessControl.SecurityManagement import newSecurityManager, setSecurityManager
from AccessControl.User import nobody

src/e/r/erp5-HEAD/product/ERP5/Document/Delivery.py   erp5(Download)
from AccessControl.SecurityManagement import getSecurityManager, \
    setSecurityManager, newSecurityManager
from AccessControl.User import nobody
from Products.ERP5Type import Permissions, PropertySheet, interfaces
from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter

src/e/r/erp5-HEAD/product/ERP5/Document/Alarm.py   erp5(Download)
from AccessControl.SecurityManagement import getSecurityManager, \
            setSecurityManager, newSecurityManager
from AccessControl.User import nobody
from Products.CMFCore.utils import getToolByName
from Products.ERP5Type import Permissions, PropertySheet

src/p/r/Products.GroupUserFolder-3.55.1/Products/GroupUserFolder/PloneFeaturePreview.py   Products.GroupUserFolder(Download)
from Globals import InitializeClass, DTMLFile, MessageDialog
from Acquisition import aq_base
from AccessControl.User import nobody
from AccessControl import ClassSecurityInfo
from Products.CMFCore.ActionProviderBase import ActionProviderBase

src/p/r/Products.GroupUserFolder-3.55.1/Products/GroupUserFolder/GroupsTool.py   Products.GroupUserFolder(Download)
from Globals import InitializeClass, DTMLFile, MessageDialog
from Acquisition import aq_base
from AccessControl.User import nobody
from AccessControl import ClassSecurityInfo
from ZODB.POSException import ConflictError

src/p/r/Products.PluggableAuthService-1.10.0/Products/PluggableAuthService/plugins/NotCompetentHelper.py   Products.PluggableAuthService(Download)
from AccessControl import ClassSecurityInfo
from AccessControl.Permissions import manage_users
from AccessControl.User import nobody
from ZPublisher.BaseRequest import UNSPECIFIED_ROLES
from ZPublisher.Response import Response

src/a/p/appy-0.8.5/appy/gen/mixins/__init__.py   appy(Download)
        user = getSecurityManager().getUser()
        if not user:
            from AccessControl.User import nobody
            return nobody
        return user

src/p/r/Products.PluggableAuthService-1.10.0/Products/PluggableAuthService/PluggableAuthService.py   Products.PluggableAuthService(Download)
from AccessControl.SecurityManagement import noSecurityManager
from AccessControl.Permissions import manage_users as ManageUsers
from AccessControl.User import nobody
from AccessControl.SpecialUsers import emergency_user
from Acquisition import Implicit

src/z/o/Zope2-2.13.22/src/OFS/SimpleItem.py   Zope2(Download)
    def manage_FTPstat(self,REQUEST):
        """Psuedo stat, used by FTP for directory listings.
        """
        from AccessControl.User import nobody
        mode=0100000

  1 | 2 | 3  Next