perf(admin-gui): optimalization of assigned groups to resource
Created by: xkureck
- method getAssignedGroups was returning all attributes because none was specified and that drastically decreased performance
- added one attribute to return so that the method doesnt return all attributes