From 1f04b83be337cc91a3fabcf4e574e2306f3d2eaa Mon Sep 17 00:00:00 2001
From: Freya Murphy <freya@freyacat.org>
Date: Sat, 30 Mar 2024 12:14:42 -0400
Subject: refactor

---
 db/rest/post/api_post_insert.sql | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'db/rest/post/api_post_insert.sql')

diff --git a/db/rest/post/api_post_insert.sql b/db/rest/post/api_post_insert.sql
index 9eb200c..02b9d8d 100644
--- a/db/rest/post/api_post_insert.sql
+++ b/db/rest/post/api_post_insert.sql
@@ -32,6 +32,8 @@ GRANT INSERT ON TABLE api.post
 	TO rest_user;
 GRANT INSERT ON TABLE admin.post
 	TO rest_user;
+GRANT UPDATE ON TABLE sys.post_id_seq
+	TO rest_user;
 
 CREATE TRIGGER api_post_insert_trgr
 	INSTEAD OF INSERT
-- 
cgit v1.2.3-freya

