Skip to content

Commit

Permalink
Add new Expeye grants (#246) (#247)
Browse files Browse the repository at this point in the history
Co-authored-by: Guilherme Francisco <guilherme.de-freitas@diamond.ac.uk>
  • Loading branch information
KarlLevik and gfrn authored Oct 28, 2024
1 parent 1c9cb87 commit 6e8831f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions grants/ispyb_expeye_samples_grants.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ CREATE ROLE IF NOT EXISTS ispyb_expeye_samples_role;

GRANT SELECT ON Proposal TO ispyb_expeye_samples_role;
GRANT SELECT ON BLSession TO ispyb_expeye_samples_role;
GRANT SELECT ON DataCollectionGroup TO ispyb_expeye_samples_role;
GRANT SELECT ON DataCollection TO ispyb_expeye_samples_role;

GRANT SELECT, INSERT, UPDATE, DELETE ON Shipping TO ispyb_expeye_samples_role;
GRANT SELECT, INSERT, UPDATE, DELETE ON ShippingHasSession TO ispyb_expeye_samples_role;
Expand Down Expand Up @@ -44,6 +46,7 @@ GRANT SELECT, INSERT, UPDATE, DELETE ON Project_has_BLSample TO ispyb_expeye_sam

GRANT SELECT ON Protein TO ispyb_expeye_samples_role;
GRANT SELECT ON Crystal TO ispyb_expeye_samples_role;
GRANT SELECT, INSERT, UPDATE, DELETE ON XFEFluorescenceSpectrum TO ispyb_expeye_samples_role;

GRANT SELECT, INSERT, UPDATE, DELETE ON DiffractionPlan TO ispyb_expeye_samples_role;

Expand Down

0 comments on commit 6e8831f

Please sign in to comment.