plone.app.collection display inactive objects for anonymous users

ichimdav <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
There was a possibility with the old Topic to show inactive objects even to
anonymous users.
I see no current way for Collections to display expired content for
anonymous.

Would it make sense to add a new criteria type which would be a boolean
indicating if inactive content should be visible?

I know that this issue is handled by the "Access inactive content"
permission and as such anyone with this given permission would be able to
see them but I was thinking that such a criteria would be needed for a
specific usecase where the collection should display inactive content to
everyone.

Given the fact that  plone.app.querystring is performing a catalog search
with the keywords passed from the collections, we would need also a way from
the collection to pass the show_inactive keyword which at the moment isn't
possible.

Would there be any security concerns regarding this possible criteria type?
Like this criteria needing a special permission in order to have it visible
within the collection criteria dropdown?



--
View this message in context: http://plone.293351.n2.nabble.com/plone-app-collection-display-inactive-objects-for-anonymous-users-tp7570118.html
Sent from the Core Developers mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
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.