Unpublished Queries are viewable by all users

Issue Summary

All unpublished queries are visible to all users. The instructions here make it seem like that shouldn’t be the case.

We added our own custom query runners, but have not altered any of the redash code. The dbs were primed using the docker-compose run --rm server create_db command

Technical details:

  • Redash Version: 7.0.0.b18042
  • Browser/OS: Chrome
  • How did you install Redash: using the set up script for centos7, and a modified docker-compose.yml that enables our custom query runners and LDAP auth.

Thanks for the bug report.

Are they always visible or just when searching?

I’m asking based on @arikfr’s comments on this thread from last year:

They are always visible, not just during search. This causes our query page to be rather cluttered with “New Query” listings that have never been run, and they are all tagged as unpublished.