Roundup Tracker - Issues

Message6678

Author schlatterbeck
Recipients rouilj, schlatterbeck
Date 2019-10-04.08:50:37
Message-id <20191004085029.la2rdc5oup7mou3z@runtux.com>
In-reply-to <1570149002.58.0.371401287498.issue2551051@roundup.psfhosted.org>
On Fri, Oct 04, 2019 at 12:30:02AM +0000, John Rouillard wrote:
> 
> John Rouillard added the comment:
> 
> with patch rev5872:1b91e3df3fd0 it looks like Ralf added code to fix 
> the rejection of searches like:
> 
>   issue?messages.author=2
> 
> due to messages.author not being recognized. But the anonymous user
> is user2. This returns 172 items, but there should be no messages 
> generated by user2. I also seem to get the same response from:
> 
>      issue?messages.author=1
> 
> so I am not sure that this is actually working as intended.

Do you have search permission for message.author, user.username,
user.id? If not the search will silently drop the attribute.

> 
> Also this works (and seems to return the same 172 items)
> 
>      issue?messages.authors=2
> 
> but it shouldn't work as 'authors' is not a valid field for
> the msg type.
Hmm, this should definitely raise an error when it encounters a field
that is not valid.

I'll look into this.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   http://www.runtux.com
Reichergasse 131, A-3411 Weidling       email: office@runtux.com
History
Date User Action Args
2019-10-04 08:50:37schlatterbecksetrecipients: + schlatterbeck, rouilj
2019-10-04 08:50:37schlatterbecklinkissue2551051 messages
2019-10-04 08:50:37schlatterbeckcreate