updateTemplatePermissions

Updates the resource permissions for a template.