From 93760db1e007342ac807f52222b781cfc15b456d Mon Sep 17 00:00:00 2001 From: Matchu Date: Fri, 31 Jul 2020 15:30:25 -0700 Subject: [PATCH] add support permissions to setup SQL --- setup-mysql-user.sql | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup-mysql-user.sql b/setup-mysql-user.sql index 48205bc..e0adcd4 100644 --- a/setup-mysql-user.sql +++ b/setup-mysql-user.sql @@ -1,4 +1,4 @@ --- Public data tables +-- Public data tables: read GRANT SELECT ON openneo_impress.colors TO impress2020; GRANT SELECT ON openneo_impress.color_translations TO impress2020; GRANT SELECT ON openneo_impress.items TO impress2020; @@ -12,6 +12,10 @@ GRANT SELECT ON openneo_impress.swf_assets TO impress2020; GRANT SELECT ON openneo_impress.zones TO impress2020; GRANT SELECT ON openneo_impress.zone_translations TO impress2020; +-- Public data tables: write +GRANT UPDATE ON openneo_impress.items TO impress2020; +GRANT UPDATE ON openneo_impress.swf_assets TO impress2020; + -- User data tables GRANT SELECT ON openneo_impress.item_outfit_relationships TO impress2020; GRANT SELECT ON openneo_impress.outfits TO impress2020;