Project

General

Profile

Actions

Defect #9308

closed

Search fails when a role haven't "view wiki" permission

Added by pasquale [:dedalus] over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Search engine
Target version:
Start date:
2011-09-22
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I have configured a role that haven't the "view wiki" permission.
When a user that has this role (in all projects) search for some word, redmine fails with this message (bug-in-action.jpg)
If I grant the permission to the role, all works fine.
This is a major bug because normal user can think that the site don't work.

In the log file, I see that the query fails on where condition because "text" field is unknown.

ps: the behavior of redmine in this case is very strange: for example, if I search for mail I have an error, but if I search for mail. all works fine


Files

bug-in-action.jpg (50.7 KB) bug-in-action.jpg pasquale [:dedalus], 2011-09-22 21:24
Actions

Also available in: Atom PDF