connect-ensure-permission