Modify

Opened 12 years ago

Closed 12 years ago

#9829 closed defect (worksforme)

Prevent private wiki pages from being searched

Reported by: ts@… Owned by: Nathan Lewis
Priority: high Component: PrivateWikiPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hello all,

The Plugin works fine except that the hidden pages are parsed by the wiki search and the hits are displayed to every unauthorized user. Removing wiki from the searched parts of Trac is obviously no option. Is there a way to exclude the private pages from the wiki search?

BR

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by anonymous

You may need to check the privileges on the anonymous user.

Make sure that PRIVATE_VIEW and/or PRIVATE_EDIT is not assigned to the anonymous user.

I just ran a test on a fresh install of Trac 0.12 and the anonymous user can't see private wiki pages. I am not sure if your issue would be related to version 0.11?

comment:2 Changed 12 years ago by anonymous

Resolution: worksforme
Status: newclosed

Hi,

thanks for the reply. The privileges were set correctly, but I hadn't realized that there was another page including my search term which wasn't inserted to [privatewikis] in

 trac.ini.

So, the Pugin works as expected. Thanks again ts

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Nathan Lewis.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.