Re: plone.app.uuid.utils.uuidToObject/URL filters on expired items, necessary?

Hector Velarde <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
I think you have two options here:

* use a context manager to assign a different role temporarily 
(http://docs.plone.org/external/plone.api/docs/api/env.html)

* ignore the error with a try/except block

it depends on how do you want to handle it: if the user can't see some 
objects with its current role, do you really want to mess with them anyway?

best regards

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.