added check from "read" permission on "query" and "squery" actionsfor connected user or for "public" connection
added check from "read" permission on "query" and "squery" actions
for connected user or for "public" connection