Last modified: 2013-11-20 15:10:11 UTC
The query special page and the API module for running queries should require a special permission.
Change 94049 had a related patch set uploaded by Addshore: Add 'wikibase-query-run' permission and checks https://gerrit.wikimedia.org/r/94049
Change 94049 merged by Jeroen De Dauw: Add 'wikibase-query-run' permission and checks https://gerrit.wikimedia.org/r/94049