[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue with "view" access control
From: |
Yves Martin |
Subject: |
Re: Issue with "view" access control |
Date: |
Thu, 13 Sep 2007 16:09:08 +0200 |
On Thu, 2007-09-13 at 10:17 +0200, Yves Martin wrote:
> Hello,
>
> I have troubles with my GNATS databases since I have upgraded from gnats
> 4.0 to gnats 4.1 (Debian Etch system) using gnatsweb as front-end
>
> Since upgrade, a user with "view" access right always receive:
> server_reply: 220 No PRs match.
> Whereas a user with "edit" or "viewconf" access right gets 52
> non-confidential issues.
Finally, I have found a bug after a debug party with a colleague in the
method:
--- cmds.c.orig 2007-09-13 15:57:05.000000000 +0200
+++ cmds.c 2007-09-13 15:57:15.000000000 +0200
@@ -365,7 +365,7 @@
{
QueryExpr newQ
= parseQueryExpression (currentDatabase,
- "builtinfield:Confidential ~ \"no\"",
+ "builtinfield:Confidential~\"no\"",
NULL);
*search = booleanQuery (QueryAnd, *search, newQ);
}
The current expression does not work properly with gnats 4.1 - does it
come from a bug in Etch versions of lex or bison-1.35 ?
More investigation is necessary I think.
Regards
--
Yves Martin