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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Change the ownership to the given user.

If 'recursive' is true then also take ownership of all sub-objects,
otherwise sub-objects retain their ownership information.

src/z/o/Zope2-2.13.22/src/OFS/owner.py   Zope2(Download)
                'manage_takeOwnership was called from an invalid context')
 
        self.changeOwnership(security.getUser(), recursive)
 
        RESPONSE.redirect(REQUEST['HTTP_REFERER'])

src/z/o/Zope-HEAD/src/OFS/owner.py   Zope(Download)
                'manage_takeOwnership was called from an invalid context')
 
        self.changeOwnership(security.getUser(), recursive)
 
        RESPONSE.redirect(REQUEST['HTTP_REFERER'])