Roundup Tracker - Issues

Message1472

Author don_fu
Recipients
Date 2004-10-12.12:16:56
Message-id
In-reply-to
When conducting a search, all matching items are
returned. This leads to problems when displaying the
search result to a user, that does not have permission
to view all items. While items can be filtered in the
output template, the filtering should take place in the
core, so that hit-counts are also displayed correctly.

The proposed patch adds a method filterByPermission to
security.py, that takes a list of itemids and returns a
list of itemids that the user is allowed to act upon.
filterByPermission is used in HtmlRequest.batch() to
reduce the resultset.

History
Date User Action Args
2009-02-03 14:20:57adminlinkissue1045276 messages
2009-02-03 14:20:57admincreate