diff --git a/schema/lvmdb/gortdb.sql b/schema/lvmdb/gortdb.sql index 1022ab66..a9ee00eb 100644 --- a/schema/lvmdb/gortdb.sql +++ b/schema/lvmdb/gortdb.sql @@ -104,5 +104,9 @@ GRANT USAGE ON SCHEMA gortdb TO sdss_user; GRANT SELECT ON ALL TABLES IN SCHEMA gortdb TO sdss_user; GRANT USAGE ON ALL SEQUENCES IN SCHEMA gortdb TO sdss_user; -GRANT INSERT ON gortdb.night_log TO sdss_user; -GRANT INSERT ON gortdb.night_log_comment TO sdss_user; +GRANT INSERT ON TABLE gortdb.night_log TO sdss_user; +GRANT INSERT ON TABLE gortdb.night_log_comment TO sdss_user; +GRANT UPDATE ON TABLE gortdb.night_log_comment TO sdss_user; + +GRANT INSERT ON TABLE gortdb.notification TO sdss_user; +GRANT UPDATE ON TABLE gortdb.notification TO sdss_user; diff --git a/schema/lvmdb/lvmopsdb.sql b/schema/lvmdb/lvmopsdb.sql index 7cf5c9e8..07fd3dd7 100644 --- a/schema/lvmdb/lvmopsdb.sql +++ b/schema/lvmdb/lvmopsdb.sql @@ -405,3 +405,6 @@ grant usage on all sequences in schema lvmopsdb to sdss_user; alter table lvmopsdb.sky add column darkest_wham_flag bool; alter table lvmopsdb.sky add column valid bool; + +GRANT INSERT ON TABLE lvmopsdb.ln2_fill TO sdss_user; +GRANT UPDATE ON TABLE lvmopsdb.ln2_fill TO sdss_user;