summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-08-08 23:45:37 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-08-08 23:45:37 +0100
commit3d5705d573fccc947c3d3b2edd4fd1314f5f97a4 (patch)
tree446a2912f8b24250596e23c5a9e19d4d95f85044
parentDon't search lost+found (diff)
downloadgentoobrowse-3d5705d573fccc947c3d3b2edd4fd1314f5f97a4.tar.bz2
gentoobrowse-3d5705d573fccc947c3d3b2edd4fd1314f5f97a4.tar.xz
gentoobrowse-3d5705d573fccc947c3d3b2edd4fd1314f5f97a4.zip
Grant select to apache
-rw-r--r--gentoobrowse/datasources/schema.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/gentoobrowse/datasources/schema.sql b/gentoobrowse/datasources/schema.sql
index 4eec710..161af0d 100644
--- a/gentoobrowse/datasources/schema.sql
+++ b/gentoobrowse/datasources/schema.sql
@@ -814,6 +814,11 @@ REVOKE ALL ON TABLE package_urls FROM PUBLIC;
REVOKE ALL ON TABLE package_urls FROM gentoo;
GRANT ALL ON TABLE package_urls TO gentoo;
GRANT SELECT ON TABLE package_urls TO apache;
+-- Name: repos; Type: ACL; Schema: gentoobrowse; Owner: gentoo
+REVOKE ALL ON TABLE repos FROM PUBLIC;
+REVOKE ALL ON TABLE repos FROM gentoo;
+GRANT ALL ON TABLE repos TO gentoo;
+GRANT SELECT ON TABLE repos TO apache;
-- Name: use_global; Type: ACL; Schema: gentoobrowse; Owner: gentoo
REVOKE ALL ON TABLE use_global FROM PUBLIC;
REVOKE ALL ON TABLE use_global FROM gentoo;