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

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

src/p/r/Products.CMFSquidTool-1.5.1/Products/CMFSquidTool/Permissions.py   Products.CMFSquidTool(Download)
    from Products.CMFCore.CMFCorePermissions import ManagePortal
    from Products.CMFCore.CMFCorePermissions import ModifyPortalContent
    from Products.CMFCore.CMFCorePermissions import View
    from Products.CMFCore.CMFCorePermissions import setDefaultRoles
except:

src/p/r/Products.CMFPublicator-1.3.1/Products/CMFPublicator/PublicatorTool.py   Products.CMFPublicator(Download)
    from Products.CMFCore.permissions import ManagePortal, ReviewPortalContent, View
except: # Old CMF
    from Products.CMFCore.CMFCorePermissions import ManagePortal, ReviewPortalContent, View
 
from PublicationBoxInformation import PublicationBoxInformation

src/p/r/Products.GroupUserFolder-3.55.1/Products/GroupUserFolder/GroupsTool.py   Products.GroupUserFolder(Download)
except ImportError:
    from Products.CMFCore.CMFCorePermissions import ManagePortal
    from Products.CMFCore.CMFCorePermissions import View
    from Products.CMFCore.CMFCorePermissions import ViewManagementScreens
 

src/p/r/Products.CMFPublicator-1.3.1/Products/CMFPublicator/PublicationBoxInformation.py   Products.CMFPublicator(Download)
    from Products.CMFCore.permissions import ReviewPortalContent, View
except: # Old CMF
    from Products.CMFCore.CMFCorePermissions import ReviewPortalContent, View
 
from Products.CMFPublicator import MessageFactory as _

src/p/r/Products.FCKeditor-2.6.6.3/Products/FCKeditor/__init__.py   Products.FCKeditor(Download)
    from Products.CMFCore.permissions import View, AddPortalContent
except ImportError: # For instances with old CMF products
    from Products.CMFCore.CMFCorePermissions import View, AddPortalContent
 
try:

src/p/r/Products.FCKeditor-2.6.6.3/Products/FCKeditor/config.py   Products.FCKeditor(Download)
    from Products.CMFCore.permissions import View, ManagePortal
except ImportError: # For instances with old CMF products
    from Products.CMFCore.CMFCorePermissions import View, ManagePortal
 
from utils import fckDefaultToolbar,  fckDefaultKeystrokes, fckDefaultMenuStyles

src/p/r/Products.ProtectedFile-0.1.1/Products/ProtectedFile/types/ProtectedFile.py   Products.ProtectedFile(Download)
    from Products.CMFCore.permissions import View
except ImportError:
    from Products.CMFCore.CMFCorePermissions import View
from Products.Archetypes.public import *
from Products.ATContentTypes.content.file import ATFile, ATFileSchema

src/p/r/Products.PloneQueueCatalog-2.0/Products/PloneQueueCatalog/QueueCatalogPatches.py   Products.PloneQueueCatalog(Download)
except ImportError:
    # CMF < 1.6
    from Products.CMFCore.CMFCorePermissions import View
 
from AccessControl.Permissions import manage_zcatalog_entries