GTNPORTAL-3287: Fix Portal.hasPermission to work with a list of Memberships in the Permission parameter