Skip to content

Commit a11698e

Browse files
committed
Grant exec on proc update_dc_append_comments, bump version
1 parent 16e8871 commit a11698e

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

HISTORY.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ History
55
Unreleased / master
66
-------------------
77

8+
1.34.1 (2023-01-19)
9+
-------------------
10+
11+
* Add ``EXECUTE`` perm on procedure ``update_dc_append_comments`` to 'ispyb_processing' role.
12+
13+
814
1.34.0 (2023-01-16)
915
-------------------
1016

grants/ispyb_processing.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ GRANT EXECUTE ON PROCEDURE upsert_dc_grid TO 'ispyb_processing';
150150
GRANT EXECUTE ON PROCEDURE upsert_motion_correction TO 'ispyb_processing';
151151
GRANT EXECUTE ON PROCEDURE retrieve_persons_for_session TO 'ispyb_processing';
152152
GRANT EXECUTE ON PROCEDURE upsert_proposal TO 'ispyb_processing';
153+
GRANT EXECUTE ON PROCEDURE update_dc_append_comments TO 'ispyb_processing';
153154
GRANT EXECUTE ON PROCEDURE update_dc_position TO 'ispyb_processing';
154155
GRANT EXECUTE ON PROCEDURE upsert_ctf TO 'ispyb_processing';
155156

schemas/ispyb/lookups.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
1111

1212
/*!40000 ALTER TABLE `AdminVar` DISABLE KEYS */;
13-
INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','1.34.0');
13+
INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','1.34.1');
1414
/*!40000 ALTER TABLE `AdminVar` ENABLE KEYS */;
1515

1616
/*!40000 ALTER TABLE `SchemaStatus` DISABLE KEYS */;
@@ -209,7 +209,8 @@ INSERT INTO `SchemaStatus` (`schemaStatusId`, `scriptName`, `schemaStatus`, `rec
209209
(234,'2022_10_21_Shipping_extra.sql','DONE','2022-11-02 17:04:27'),
210210
(235,'2022_11_02_AdminVar_bump_version.sql','DONE','2022-11-02 17:04:27'),
211211
(236,'2023_01_16_Tomogram_new_cols.sql','DONE','2023-01-16 18:09:03'),
212-
(237,'2023_01_16_AdminVar_bump_version.sql','DONE','2023-01-16 18:42:40');
212+
(237,'2023_01_16_AdminVar_bump_version.sql','DONE','2023-01-16 18:42:40'),
213+
(238,'2023_01_19_AdminVar_bump_version.sql','DONE','2023-01-19 12:24:28');
213214
/*!40000 ALTER TABLE `SchemaStatus` ENABLE KEYS */;
214215

215216
/*!40000 ALTER TABLE `ComponentType` DISABLE KEYS */;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2023_01_19_AdminVar_bump_version.sql', 'ONGOING');
2+
3+
UPDATE AdminVar SET `value` = '1.34.1' WHERE `name` = 'schemaVersion';
4+
5+
UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2023_01_19_AdminVar_bump_version.sql';

0 commit comments

Comments
 (0)