gatekeeper query access