ENG-6388 split adhoc permission into sql and sqlread

Looks like this method is not used anymore. You can remove it.