ChiliProject Ensure Project Hierarchy Plugin
This plugin ensures subproject identifiers are prefixes with their parent project's identifier.
WARNING: Admins are still allowed to set any identifier regardless of the parent project.
This plugin aims to be compatible with
This plugin is pretty basic and should work with every flavor of ChiliProject, it probably works with Redmine too.
Please follow the default plugin installation instructions for ChiliProject.
Remove the Plugin from vendor/plugins
rm -r vendor/plugins/chiliproject_ensure_project_hierarchy
To run the tests, you will need a current version of the finnlabs Redmine/ChiliProject Dev Tools. After running
You should be able to execute the tests with
If these instructions are insufficient, please open a ticket in the GitHub issue tracker with information about where you are stuck.
The validation should be moved from the projects controller to the model
The parent project drop-down on the project settings page contains all projects the user can set the parent project to, though as the project identifier is frozen, only the project's parents satisfy the identifier hierarchy condition.
© 2011 - Felix Schäfer
This plugin is licensed under the MIT license. See COPYRIGHT.txt for details.