How to get a list the permits given to an acid for a specific resource class.