stable

Clone or download

Read-only

Initialize dbauthuser grants with mysql-init command

One step closer to completly remove the dependency on mysql CLI for Tuleap setup so TLS can be enabled with less pain. I took the opportunity to rename the various arguments to make them easier to understand. The NSS part fill me of sadness because, by design it's not possible to grant permissions on tables that doesn't exists yet without granting CREATE to user too... so we need to grant both SELECT and GRANT and revoke CREATE right after. Part of story #14683 install a basic image Change-Id: Ie51c5a148e8fbe243c2bdfca67a691594af9231b

Modified Files

Name
M src/tuleap-cfg/Command/SetupMysqlInitCommand.php +122 −18 Go to diff View file
M tests/e2e/full/tuleap/setup.sh +16 −6 Go to diff View file
M tests/integration/bin/setup.sh +16 −16 Go to diff View file
M tests/rest/bin/setup.sh +11 −15 Go to diff View file
M tests/soap/bin/setup.sh +15 −2 Go to diff View file
M tools/Configuration/Mysql/BackendSVN.php +22 −17 Go to diff View file
M tools/setup.el7.sh +16 −3 Go to diff View file
M tools/setup.sh +5 −5 Go to diff View file
M tools/setup/el7/include/plugins.sh +14 −3 Go to diff View file
D tools/setup/el7/include/sql.sh +0 −32 Go to diff View file