We are running 5.5 and 5.6 repositories and have had people report that 
restricted items are still accessible via OAI.

After reading 
https://groups.google.com/forum/#!searchin/dspace-tech/restricted$20item$20oai|sort:relevance/dspace-tech/Ccl38AyKLv8/-odZSO2MAgAJ
 
it appears that as of 5.x the xoai.cfg file should ensure that items marked 
as item.public = false are not exposed via OAI.

Querying the OAI items directly through Solr using curl -g 
http://localhost:8080/solr/oai/select -d'q=item.id:[item_id]&rows=1&wt=xml' 
shows that items are indeed marked as item.public=false and xoai.cfg is 
unchanged:

        <Filter id="defaultFilter">
            <Definition>
                <Or>
                    <LeftCondition>
                        <Custom ref="itemAccessCondition"/>
                    </LeftCondition>
                    <RightCondition>
                        <Custom ref="itemWithdrawnCondition"/>
                    </RightCondition>
                </Or>
            </Definition>
        </Filter>



What can also contribute to restricted items being displayed via OAI?

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to