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
                        <Filter refid="bitstreamaccessFilter"/>

to the "request" and "driver" contexts in config/crosswalks/oai/xoai.xml

HTH (any one else)
Ian

On 6 December 2012 14:38, Ian Boston <[email protected]> wrote:
> 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 of the code base doesnt turn up any locations where
> harvest.includerestricted.oai is referenced and as far as I can tell,
> looking through the OAI code in Eclipse, this is not implemented.
>
> x43543-2:dspace-git ieb$ find . -name '*.java' -exec grep
> includerestricted {} \;
>                 boolean includeAll =
> ConfigurationManager.getBooleanProperty("harvest.includerestricted.subscription",
> true);
>         includeAll =
> ConfigurationManager.getBooleanProperty("harvest.includerestricted.rss",
> true);
>     private static boolean includeRestrictedItems =
> ConfigurationManager.getBooleanProperty("harvest.includerestricted.rss",
> true);
> x43543-2:dspace-git ieb$
>
> Is that correct or did I miss something ?
>
> (Happy to Jira and try and do a patch if its missing )
>
> Thanks
> Ian

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to