The permissions has been implemented in the redirect bundle run the following SQL to give your roles add, edit, delete permissions:
UPDATE `se_permissions` SET `permissions` = 127 WHERE context = `sulu.modules.redirects`;
To support multiple webspaces a sourceHost field was added to the RedirectRoute entity and the following database migration need to be run:
ALTER TABLE `re_redirect_routes` ADD `sourceHost` VARCHAR(191) DEFAULT NULL;
DROP INDEX `UNIQ_3DB4B4315F8A7F73` ON `re_redirect_routes`;
CREATE UNIQUE INDEX `UNIQ_3DB4B4315F8A7F73738AA078` ON `re_redirect_routes` (`source`, `sourceHost`);
- ConverterInterface
- WriterInterface
- RedirectRouteManagerInterface
- RedirectRouteRepositoryInterface
The resourceKey of the _embedded
has changed from redirect-routes
to redirect_routes
.
To support utfmb4 which is default in sulu 2.0 we need the shorten indexed fields:
ALTER TABLE `re_redirect_routes` CHANGE `id` `id` VARCHAR(36) NOT NULL;
ALTER TABLE `re_redirect_routes` CHANGE `source` `source` VARCHAR(191) NOT NULL;
To support permissions the RedirectImportController::importAction has been renamed to RedirectImportController::postAction.
The permissions has been implemented in the redirect bundle run the following SQL to give your roles add, edit, delete permissions:
UPDATE `se_permissions` SET `permissions` = 127 WHERE context = `sulu.modules.redirects`;
To support multiple webspaces a sourceHost field was added to the RedirectRoute entity and the following database migration need to be run:
ALTER TABLE `re_redirect_routes` ADD `sourceHost` VARCHAR(255) DEFAULT NULL;
DROP INDEX `UNIQ_3DB4B4315F8A7F73` ON `re_redirect_routes`;
CREATE UNIQUE INDEX `UNIQ_3DB4B4315F8A7F73738AA078` ON `re_redirect_routes` (`source`, `sourceHost`);