Modify

Opened 2 years ago

Closed 2 years ago

#9829 closed defect (worksforme)

Prevent private wiki pages from being searched

Reported by: ts@… Owned by: natewlew
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 2 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 2 years ago by anonymous

  • Resolution set to worksforme
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from natewlew. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.