From 11b0d787e56f1d17c7abf5c52eaa68e12ab80b28 Mon Sep 17 00:00:00 2001 From: guillermo Date: Fri, 2 Feb 2024 11:57:58 +0100 Subject: [PATCH] refactor: refs #6780 Revoke grants --- db/versions/10865-goldenGalax/00-firstScript.sql | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/db/versions/10865-goldenGalax/00-firstScript.sql b/db/versions/10865-goldenGalax/00-firstScript.sql index 3b00b10e6..889477b5c 100644 --- a/db/versions/10865-goldenGalax/00-firstScript.sql +++ b/db/versions/10865-goldenGalax/00-firstScript.sql @@ -6,4 +6,10 @@ REVOKE INSERT ON TABLE vn2008.XDiario FROM financial; REVOKE SELECT, INSERT, UPDATE ON TABLE vn2008.XDiario FROM buyer; REVOKE SELECT, INSERT, UPDATE, DELETE ON TABLE vn2008.XDiario FROM administrative; REVOKE SELECT, INSERT, UPDATE, DELETE ON TABLE vn2008.XDiario FROM hr; -REVOKE SELECT, INSERT, UPDATE, DELETE ON TABLE vn2008.XDiario FROM buyerBoss; \ No newline at end of file +REVOKE SELECT, INSERT, UPDATE, DELETE ON TABLE vn2008.XDiario FROM buyerBoss; +REVOKE SELECT, INSERT ON TABLE vn2008.workerDocument FROM hr; +REVOKE SELECT ON TABLE vn2008.warehouse FROM guest; +REVOKE SELECT ON TABLE vn2008.warehouse FROM employee; +REVOKE SELECT, INSERT, UPDATE ON TABLE vn2008.workerTeam FROM salesAssistant; +REVOKE DELETE ON TABLE vn2008.workerTeam FROM salesBoss; +REVOKE SELECT ON TABLE vn2008.v_compres FROM administrative; \ No newline at end of file