Thanks, it works fine.
 
I don't know the amount of work that could be involved, but why not having a 'search' level in the Global Rights ? It makes sense to use the Global Rights to allow or deny search action for a group or user. You could even have that on a space or a page (a type of user is not allowed to view and search this particular page).
 
My 2 cents.
 
Antonio
 
2007/4/22, Vincent Massol <vincent@massol.net>:
Hi Antonio,

On Apr 22, 2007, at 3:15 PM, Antonio Goncalves wrote:

Hi,
 
I need to have a private space on my wiki. A space where all pages would be completly hidden from everybody else except Admins. I did it easily with Space Rights (XWikiGuest and XWikiAllGroup / view /deny). But the pages can still be searched. How can I hide their content from the search ?
 

 
This is an interesting problem. Ideally we should check that the user has view rights on any query done on a document in the database. In practice it might not be so easy to do. Anyone has an idea?

 
Now back to your search problem, you can edit the WebSearch page and exclude that space from the search by modifying:

 
#set ($excludedWebs = "doc.web<>'XWiki' and doc.web<>'Main' and doc.web<>'Admin' and doc.web<>'Panels' and doc.name<>'WebPreferences' and")

 
Add your space to the exclusion list.

 
Thanks
-Vincent

 


--
You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto: sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws