Skip to content

Commit

Permalink
Add several grant permissions to sdss_user in lvmdb
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 11, 2024
1 parent a7a1987 commit bc0cfe7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 6 additions & 2 deletions schema/lvmdb/gortdb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
3 changes: 3 additions & 0 deletions schema/lvmdb/lvmopsdb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit bc0cfe7

Please sign in to comment.