GTNPORTAL-3287: Fix Portal.hasPermission to work with a list of Membersh...

...ips in the Permission parameter