Actions
Bug #4545
closedProfile privacy not affecting userlists
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