View only permission on raw query should not show sql

If a user has view only permissions on raw query question, then user should not be able to view sql.