added function to find group access