[TECH SUPPORT] LPS-45544 Site Role cannot be added to a User Group via Site Membership form

Hi Tibi,

I have modified the permission check logic according to the discussion with Jorge.

Please review the changes.

Thanks,
Ákos