Greetings,

We have submitted an item within a private collection (only 
Administrators can see it). The problem is that the search function 
returns the item, even if I am logged out (anonymous). But whenever I 
click on search results, I get this message:

You do not have the credentials to access the restricted item 
hdl:123456789/63 .
The selected item is access restricted and requires credentials to view. 
Please login to access the item.

Even more than this, item bitstreams (word documents) are searched and 
the item is returned if a match is found.

Up until now we had a look over the code (AbstractSearch.java) and since 
Lucene indexes everything (which is normal), we need to override 
performSearch() to handle security before returning the search results. 
Before going this road, was anyone hit this issue?

Any help is greatly appreciated,
Cristian

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to