It would be great if HeidiSQL would support working with SQL SECURITY setting of VIEWs like it does for stored procedures. Now it always uses default, which is "sql security definer".
More on this: https://dev.mysql.com/doc/refman/5.6/en/create-view.html