sebbASF opened a new issue #47:
URL: https://github.com/apache/incubator-ponymail-foal/issues/47


   
https://github.com/apache/incubator-ponymail-foal/blob/51a1785750a5b07a6dfea84fdb8e4be9c74b1971/server/plugins/messages.py#L403
   
   The get_years code does not handle mixed private and public lists properly.
   If at least one list is inaccessible to the user, then only public lists are 
scanned, even though the user may have access to other lists in the query.
   
   It also seems quite inefficient, as it performs 3 separate searches.
   AFAICT only a single aggregate search is needed, as is done by the previous 
Lua version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to