Issue #5366 done for RM-214. Fix visible_for_user? when has view_all permission