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