Fixes ISSUE-49500 - Preference Visibility based on ad_user_id

Preference Visibility based on ad_user_id.

"Visible at client" and "client" in ad_preference table could be considered the same and query consistency applies in both. Also the same rationale could be applied to "visible at organization".

Change is complex, but new issue should be created to fix this new format.

Edited by Cristian Berner

Merge request reports