[ 
http://jira.dspace.org/jira/browse/DS-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11002#action_11002
 ] 

Stuart Lewis commented on DS-374:
---------------------------------

There is an additional problem here - feeds are cached, irrespective of the 
user. So an admin user will see the restricted set if it is in the cache, and 
an anonymous users will see the full set if it in in the cache.

> RSS/Atom feeds return too few Items when restricted items are excluded
> ----------------------------------------------------------------------
>
>                 Key: DS-374
>                 URL: http://jira.dspace.org/jira/browse/DS-374
>             Project: DSpace 1.x
>          Issue Type: Bug
>          Components: JSPUI, XMLUI
>    Affects Versions: 1.5.2, 1.6.0
>            Reporter: Larry Stone
>            Assignee: Stuart Lewis
>            Priority: Minor
>
> The logic for excluding restricted (i.e. not world-readable) Items from the 
> RSS/Atom feeds results in too few Items being shown if any are actually 
> excluded.  For example, when the DSpace Configuration properties set 
> harvest.includerestricted.rss = false, and webui.feed.items = 4, if two of 
> the selected (i.e. latest) Items are restricted then the feed will only list 
> 2 items instead of the configured 4.
> This is a natural result of filtering by the access check _after_ getting the 
> requested number of results from the browse system.  The effect is the same 
> in both JSPUI and XMLUI implementations of syndication feeds.
> To demonstrate the effect, get a feed of e.g. 4 Items.  Modify one of those 
> Items to remove the Anonymous READ access at the Item level. Be sure your 
> configuration sets harvest.includerestricted.rss = false.  Get the same feed, 
> and observe that there is one fewer Item than the count configured in 
> webui.feed.items.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to