CatalogTool.searchResults
ignores effective
/expires
/allowedRolesAndUsers
restrictions in the base query
#68
Labels
For unpriviledged users,
CatalogTool.searchResults
rewrites the base query to add additional restrictions. But it is not careful enough: the restricted query can be more permissive than the unrestricted one -- potentially resulting in too many hits. Potentially affected are base queries withexpires
,effective
orallowedRolesAndUsers
subqueries. Forexpires
andeffective
subqueries the problem occurs only when they are not specified by keyword arguments (but in theREQUEST
argument). The following example demontrates the problem:The text was updated successfully, but these errors were encountered: