2020-09-06 15:49:08 -07:00
|
|
|
USE openneo_impress;
|
|
|
|
|
|
|
|
-- Public data tables: read
|
2022-09-25 08:05:38 -07:00
|
|
|
GRANT SELECT ON campaigns TO impress2020;
|
2020-09-06 15:49:08 -07:00
|
|
|
GRANT SELECT ON colors TO impress2020;
|
|
|
|
GRANT SELECT ON color_translations TO impress2020;
|
2022-09-25 08:05:38 -07:00
|
|
|
GRANT SELECT ON donation_features TO impress2020;
|
|
|
|
GRANT SELECT ON donations TO impress2020;
|
2020-09-06 15:49:08 -07:00
|
|
|
GRANT SELECT ON items TO impress2020;
|
|
|
|
GRANT SELECT ON item_translations TO impress2020;
|
2020-10-06 07:06:19 -07:00
|
|
|
GRANT SELECT ON modeling_logs TO impress2020;
|
2020-09-06 15:49:08 -07:00
|
|
|
GRANT SELECT ON parents_swf_assets TO impress2020;
|
|
|
|
GRANT SELECT ON pet_types TO impress2020;
|
|
|
|
GRANT SELECT ON pet_states TO impress2020;
|
|
|
|
GRANT SELECT ON species TO impress2020;
|
|
|
|
GRANT SELECT ON species_translations TO impress2020;
|
|
|
|
GRANT SELECT ON swf_assets TO impress2020;
|
|
|
|
GRANT SELECT ON zones TO impress2020;
|
|
|
|
GRANT SELECT ON zone_translations TO impress2020;
|
|
|
|
|
2020-10-06 07:06:19 -07:00
|
|
|
-- Public data tables: write. Used in modeling and support tools.
|
|
|
|
GRANT INSERT, UPDATE ON items TO impress2020;
|
|
|
|
GRANT INSERT, UPDATE ON item_translations TO impress2020;
|
|
|
|
GRANT INSERT, UPDATE, DELETE ON parents_swf_assets TO impress2020;
|
|
|
|
GRANT INSERT, UPDATE ON pet_types TO impress2020;
|
|
|
|
GRANT INSERT, UPDATE ON pet_states TO impress2020;
|
|
|
|
GRANT INSERT, UPDATE ON swf_assets TO impress2020;
|
|
|
|
GRANT INSERT ON modeling_logs TO impress2020;
|
2020-09-06 15:49:08 -07:00
|
|
|
|
|
|
|
-- User data tables
|
2020-10-23 22:43:56 -07:00
|
|
|
GRANT SELECT, INSERT, DELETE ON closet_hangers TO impress2020;
|
2021-03-23 17:48:11 -07:00
|
|
|
GRANT SELECT, UPDATE ON closet_lists TO impress2020;
|
2021-04-28 15:47:59 -07:00
|
|
|
GRANT SELECT, DELETE ON item_outfit_relationships TO impress2020;
|
2020-10-23 22:55:13 -07:00
|
|
|
GRANT SELECT ON neopets_connections TO impress2020;
|
2022-08-15 20:23:17 -07:00
|
|
|
GRANT SELECT, INSERT, UPDATE, DELETE ON outfits TO impress2020;
|
2022-09-13 21:11:40 -07:00
|
|
|
GRANT SELECT, INSERT, UPDATE ON users TO impress2020;
|
2022-09-13 20:39:45 -07:00
|
|
|
GRANT SELECT, INSERT, UPDATE ON openneo_id.users TO impress2020;
|
2020-09-06 15:49:08 -07:00
|
|
|
|
2020-09-18 05:24:03 -07:00
|
|
|
-- mysqldump
|
|
|
|
GRANT LOCK TABLES ON * TO impress2020;
|
2022-09-13 20:39:45 -07:00
|
|
|
GRANT LOCK TABLES ON openneo_id.* TO impress2020;
|