SONAR-4453 Apply permission template to a list of resources in the internal permission service