mysql: grant users ALL perms on their dbs, remove mysql-fixperms release_20211106
authorClinton Ebadi <clinton@unknownlamer.org>
Sat, 6 Nov 2021 18:47:36 +0000 (14:47 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Sat, 6 Nov 2021 18:47:36 +0000 (14:47 -0400)
commitd505bba1ca42e447925faa4f4d042d8378b77980
treefc9c8ff69d3f709c9e2433d7c956cd875e497ae8
parent4e432cbb02c2001884be392701bd3344bd5a47f5
mysql: grant users ALL perms on their dbs, remove mysql-fixperms

Users were not given DROP permissions at the database level since that
came with the risk of the user dropping their own database, with DROP
permissions for individual tables granted by mysql-fixperms. This
safeguard unfortunately breaks most software since installation and
migration scripts usually assume a database wide grant has been issued
and they can use SQL like "DROP TABLE ... IF EXISTS".

Given this reality, grant users ALL permissions to their
database. Regular backups are critical, and can mitigate the risk as
best as it can be.
Makefile
src/main-mysql-fixperms.sml [deleted file]
src/main.sig
src/main.sml
src/msg.sml
src/msgTypes.sml
src/plugins/domtool-mysql