stable

Clone or download

Read-only

First step to restrict AL natures usage

Part of story #8833: show, import and manipulate links ArtifactLink natures will provide some incompatibilities with tracker hierarchy (and services that relies on this hierarchy, like agile dashboard). In order to limit the scope of breaking changes, we must activate this new feature on a per project basis. To allow/disallow a project, site admin must go to admin ยป plugins ยป tracker ยป artifact links nature. As of today there aren't any impacts for the end user as this commit only introduce the needed table for the administration. Teasing: in the following changesets, you will have: * projects that can use natures cannot use hierarchy and agile dashboard * projects that use hierachy or agile dashboard cannot use nature * projects that don't use natures don't have the new ArtifactLink view (group of tabs) Change-Id: Id259ef69ae9ac8e8fb86a7dd7701659400edbf67

Modified Files

Name
M plugins/tracker/db/install.sql +5 โˆ’0 Go to diff View file
A plugins/tracker/db/mysql/updates/2016/201603111508_create_tracker_artifactlink_natures_allowed_projects_table.php +42 โˆ’0 Go to diff View file
M plugins/tracker/db/uninstall.sql +1 โˆ’0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/MailGateway/MailGatewayConfigController.php +0 โˆ’7 Go to diff View file
M plugins/tracker/include/Tracker/Config/ConfigRouter.php +10 โˆ’0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/AllowedProjectsConfig.php +67 โˆ’0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/AllowedProjectsDao.php +48 โˆ’0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/AllowedProjectsPresenter.php +68 โˆ’0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureConfigController.php +83 โˆ’5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureConfigPresenter.php +9 โˆ’4 Go to diff View file
M plugins/tracker/include/autoload.php +5 โˆ’2 Go to diff View file
M plugins/tracker/site-content/en_US/tracker.tab +17 โˆ’1 Go to diff View file
M plugins/tracker/site-content/fr_FR/tracker.tab +16 โˆ’0 Go to diff View file
M plugins/tracker/templates/siteadmin-config/emailgateway.mustache +1 โˆ’1 Go to diff View file
M plugins/tracker/templates/siteadmin-config/natures.mustache +23 โˆ’19 Go to diff View file
M plugins/tracker/www/config.php +12 โˆ’4 Go to diff View file
M plugins/tracker/www/themes/default/css/style.less +4 โˆ’0 Go to diff View file
A src/templates/resource_restrictor/allowed-projects-list.mustache +66 โˆ’0 Go to diff View file
M src/templates/resource_restrictor/manage-allowed-projects.mustache +1 โˆ’64 Go to diff View file