Re: [Dspace-tech] Restricted items visible in OAI feed (DSpace3.0)

2013-08-23 Thread Terry Brady
Ivan, thank you for the clarification. Your recommendation is much cleaner than my solution. It was not apparent to me that a filter could be added to the block since filters were not currently present in the block. Thank you for your help. Terry On Fri, Aug 23, 2013 at 4:26 AM, helix84 wro

Re: [Dspace-tech] Restricted items visible in OAI feed (DSpace3.0)

2013-08-23 Thread helix84
On Thu, Aug 22, 2013 at 11:53 PM, Terry Brady wrote: > Ivan, thanks for the explanation. I added some log messages to the > DSpaceAuthorizationFilter, and it is not getting executed as I navigate the > OAI web service. First, you need to configure the new class to be used, just follow the bitstr

Re: [Dspace-tech] Restricted items visible in OAI feed (DSpace3.0)

2013-08-22 Thread Terry Brady
Ivan, thanks for the explanation. I added some log messages to the DSpaceAuthorizationFilter, and it is not getting executed as I navigate the OAI web service. Since I am using SOLR to drive my harvester, I am leaning towards changing org.dspace.xoai.filter.SolrFilterResult to always search for "

Re: [Dspace-tech] Restricted items visible in OAI feed (DSpace3.0)

2013-08-22 Thread helix84
On Wed, Aug 21, 2013 at 9:33 PM, Terry Brady wrote: > I would like the OAI harvester to honor my collection/item access rules. Hi Terry, like Ian correctly noted above, this functionality was dropped during the DSpace 3 OAI rewrite. One obvious solution to me would be to use the same approach a

Re: [Dspace-tech] Restricted items visible in OAI feed (DSpace3.0)

2013-08-21 Thread Terry Brady
I have the same question that was initially raised in this thread. I would like the OAI harvester to honor my collection/item access rules. How do I enable that functionality (in DSpace 3.1). Thanks, Terry On Thu, Dec 6, 2012 at 4:31 AM, helix84 wrote: > On Thu, Dec 6, 2012 at 9:32 AM, Ian B

Re: [Dspace-tech] Restricted items visible in OAI feed (DSpace3.0)

2012-12-06 Thread helix84
On Thu, Dec 6, 2012 at 9:32 AM, Ian Boston wrote: > Second: > The access filter is only enabled for one of the OAI contexts, so all > items can be accessed via the others. > > To re-enable I added > > > to the "request" and "driver" contexts in config/crosswalks/oai/xoai.

Re: [Dspace-tech] Restricted items visible in OAI feed (DSpace3.0)

2012-12-06 Thread helix84
Hi Ian, you figured it all out correctly. I'll remove the old config property from docs and dspace.cfg. If you run into any other such leftovers, let us know. Thanks. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Eti

Re: [Dspace-tech] Restricted items visible in OAI feed (DSpace3.0)

2012-12-06 Thread Ian Boston
I think I have found the problem. First OAI is completely rewritten in DSpace 3 so the section of the manual I was looking at is wrong. Second: The access filter is only enabled for one of the OAI contexts, so all items can be accessed via the others. To re-enable I added

[Dspace-tech] Restricted items visible in OAI feed (DSpace3.0)

2012-12-05 Thread Ian Boston
Hi, I have a OAI feed that contains restricted items ( ie there is no Anon read policy on the items), but OAI shows them up. As per 6.3.10 of the manual I have harvest.includerestricted.rss = false harvest.includerestricted.oai = false harvest.includerestricted.subscription = false A quick grep