improved handling of GetFeatureInfo and other permissions