Project

General

Profile

Actions

Bug #4545

closed

Profile privacy not affecting userlists

Added by krileon over 9 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 #1

Updated by krileon over 9 years ago

This could result in some funky paging (e.g. page with no users), but at least privacy will be respected.

Actions #2

Updated by krileon over 9 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by krileon over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF