Lps 40317 Use ***Model instance instead of ID in ***PermissionUtil.contains/check as possible as we can, part 1.

Hi Shuyang,

Please note this is the first part of this ticket, will commit others after this part is merged.


Thanks.
Tina.