Project

General

Profile

Actions

Bug #4545

closed

Profile privacy not affecting userlists

Added by krileon almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
10 July 2014
Due date:
% Done:

100%

Estimated time:

Description

Profile privacy should remove the user not just on search, but also on initial display. The issue is it doesn't actually remove them from the query. However, the below triggers can be used to add to the WHERE statement to remove those with a private profile as we know we're not comparing against a more specific ruleset.

onBeforeUsersListBuildQuery

This should be applied for all the simple privacy checks. It then should check the rows privacy and remove the user row as needed using onBeforeDisplayUsersList (currently only done for searches).

Actions

Also available in: Atom PDF