Skip to content

Commit

Permalink
GRANT SELECT on regularly recreated tables to GUEST.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Stradling committed Jun 19, 2017
1 parent a7c6d47 commit 16f5e5c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lint_update_1week_stats.sql
Expand Up @@ -182,6 +182,8 @@ ANALYZE lint_1week_summary_temp;

GRANT SELECT ON lint_1week_summary_temp TO httpd;

GRANT SELECT ON lint_1week_summary_temp TO guest;

DROP TABLE lint_1week_summary;

ALTER TABLE lint_1week_summary_temp RENAME TO lint_1week_summary;
2 changes: 2 additions & 0 deletions update_browser_revocations.sql
Expand Up @@ -62,6 +62,8 @@ UPDATE mozilla_onecrl_new mon

GRANT SELECT ON mozilla_onecrl_new TO httpd;

GRANT SELECT ON mozilla_onecrl_new TO guest;

BEGIN WORK;

DROP TABLE mozilla_onecrl;
Expand Down
2 changes: 2 additions & 0 deletions update_mozilla_disclosures.sql
Expand Up @@ -686,6 +686,8 @@ UPDATE mozilla_disclosure_temp mdt
AND mdt.DISCLOSURE_STATUS = md.DISCLOSURE_STATUS
AND md.LAST_DISCLOSURE_STATUS_CHANGE IS NOT NULL;

GRANT SELECT ON mozilla_disclosure_temp TO guest;

DROP TABLE mozilla_disclosure;

ALTER TABLE mozilla_disclosure_temp RENAME TO mozilla_disclosure;
Expand Down

0 comments on commit 16f5e5c

Please sign in to comment.