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

All Samples(57)  |  Call(57)  |  Derive(0)  |  Import(0)
Declare the object to be associated with a permission.

src/z/o/Zope2-2.13.22/src/OFS/Image.py   Zope2(Download)
 
    security = ClassSecurityInfo()
    security.declareObjectProtected(View)
 
    precondition=''
 
    security = ClassSecurityInfo()
    security.declareObjectProtected(View)
 
    alt=''

src/z/o/Zope-HEAD/src/OFS/Image.py   Zope(Download)
 
    security = ClassSecurityInfo()
    security.declareObjectProtected(View)
 
    precondition=''
 
    security = ClassSecurityInfo()
    security.declareObjectProtected(View)
 
    alt=''

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSPythonScript.py   Products.CMFCore(Download)
 
    security = ClassSecurityInfo()
    security.declareObjectProtected(View)
 
    security.declareProtected(ViewManagementScreens, 'manage_main')

src/z/o/Zope2-2.13.22/src/OFS/PropertyManager.py   Zope2(Download)
 
    security = ClassSecurityInfo()
    security.declareObjectProtected(access_contents_information)
    security.setPermissionDefault(access_contents_information,
                                  ('Anonymous', 'Manager'))

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSZSQLMethod.py   Products.CMFCore(Download)
 
    security = ClassSecurityInfo()
    security.declareObjectProtected(View)
 
    # Make mutators private

src/z/o/Zope-HEAD/src/OFS/PropertyManager.py   Zope(Download)
 
    security = ClassSecurityInfo()
    security.declareObjectProtected(access_contents_information)
    security.setPermissionDefault(access_contents_information,
                                  ('Anonymous', 'Manager'))

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSPageTemplate.py   Products.CMFCore(Download)
 
    security = ClassSecurityInfo()
    security.declareObjectProtected(View)
 
    security.declareProtected(ViewManagementScreens, 'manage_main')

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/URLTool.py   Products.CMFCore(Download)
 
    security = ClassSecurityInfo()
    security.declareObjectProtected(View)
 
    manage_options = ( ActionProviderBase.manage_options

src/p/r/Products.Zelenium-1.0.3/Products/Zelenium/zuite.py   Products.Zelenium(Download)
 
    security = ClassSecurityInfo()
    security.declareObjectProtected( View )
 
    security.declareProtected( ManageSeleniumTestCases, 'manage_main' )
                  )
 
    security.declareObjectProtected( View )
 
    security.declarePublic( 'index_html' )

src/e/r/erp5-HEAD/product/Zelenium/zuite.py   erp5(Download)
 
    security = ClassSecurityInfo()
    security.declareObjectProtected( View )
 
    security.declareProtected( ManageSeleniumTestCases, 'manage_main' )
                  )
 
    security.declareObjectProtected( View )
 
    security.declarePublic( 'index_html' )

  1 | 2 | 3 | 4 | 5  Next