scouting: Make scouted data visible to Tableau

With the `--clear-db` argument, we were deleting the permissions as
well. This command will restore the permissions so that the students
can visualize the data gain.

Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: I322f3d0e98b487f8eae13f2f3f9e1e1f3b6d8247
diff --git a/scouting/deploy/deploy.py b/scouting/deploy/deploy.py
index f947398..61c0481 100644
--- a/scouting/deploy/deploy.py
+++ b/scouting/deploy/deploy.py
@@ -47,6 +47,8 @@
                 "-c 'create schema public;'",
                 # List all tables as a sanity check.
                 "-c '\dt'",
+                # Make sure we make the visualizations accessible.
+                "-c 'GRANT ALL ON SCHEMA public TO tableau;'",
                 "postgres\"",
             ]),
             shell=True,