Issue Summary
On V10 of redash, A user cannot view the query that belongs to another user even though they are in same group and the group has permissions to view_query. the “Edit Query” button is missing in this case.

Current group permissions: {create_dashboard,create_query,edit_dashboard,edit_query,view_query,view_source,execute_query,list_users,schedule_query,list_dashboards,list_alerts,list_data_sources}
This issue did not exist in v8.
Technical details:
- Redash Version: v10
- Browser/OS: chrome
- How did you install Redash: upgraded from v8.





 The fix PR is open and awaiting review. This will be merged before V10 is released.
 The fix PR is open and awaiting review. This will be merged before V10 is released.