From 0663f5f88d8a2945178c521884a5323d6fac14ee Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Tue, 13 Feb 2018 18:03:09 +0000 Subject: XYZ-78: Add note to upgrade code about advanced permissions migration. (#8267) --- store/sqlstore/upgrade.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'store') diff --git a/store/sqlstore/upgrade.go b/store/sqlstore/upgrade.go index 56fdf9d6c..265696288 100644 --- a/store/sqlstore/upgrade.go +++ b/store/sqlstore/upgrade.go @@ -351,6 +351,10 @@ func UpgradeDatabaseToVersion47(sqlStore SqlStore) { } func UpgradeDatabaseToVersion48(sqlStore SqlStore) { + // This version of Mattermost includes an App-Layer migration which migrates from hard-coded roles configured by + // a number of parameters in `config.json` to a `Roles` table in the database. The migration code can be seen + // in the file `app/app.go` in the function `DoAdvancedPermissionsMigration()`. + //TODO: Uncomment the following condition when version 4.8.0 is released //if shouldPerformUpgrade(sqlStore, VERSION_4_7_0, VERSION_4_8_0) { // saveSchemaVersion(sqlStore, VERSION_4_8_0) -- cgit v1.2.3-1-g7c22