support for comma-separated resourceids