RSS feeds for content requiring Member role
Up to qRSS2Syndication
I have a custom workflow which basically comes down to content in the Published state not being visible to anonymous visitors.
RSS feeds fail because
- when the browser makes the call to fetch feeds it does so as an anonymous user
- catalog.searchResults has hardcoded permission checks (apparently this is fixed in a later version of CatalogTool, but it does not ship with Plone yet)
My solution is to change listSyndicatableContent in utils.py to use unrestrictedSearchResults. I also translated RSS2.pt into RSS2.py because then I can set local roles through a .metadata file.
Everything works perfectly now. My question is: is this a valid use case or am I the only one to want this functionality?
Powered by
Ploneboard
