dev
Forked from tuleap/dev
Clone or download
Read-only
story #3544 - copy a tracker template with its permissions
When you create a tracker from a template of another project: - copy the permissions for the static ugroup that match (If I have a ugroup "staff" and the template project set perms on a ugroup named "staff" we assume that they are the same ugroup) - inform the user about this assumption - warn the user if there are permissions on ugroups that do not seem to exist in the current project Change-Id: I58d263ff5315907cb1e122962ba3fd96758d99d4
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/tracker/include/Tracker/PermissionsDao.class.php | +76 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/TrackerFactory.class.php | +3 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/TrackerManager.class.php | +19 | −1 | Go to diff View file |
A | plugins/tracker/include/Tracker/UgroupMappingBuilder.class.php | +63 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/UgroupPermissionsConsistencyChecker.class.php | +87 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/UgroupPermissionsConsistencyMessenger.class.php | +51 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/UgroupPermissionsGoldenRetriever.class.php | +56 | −0 | Go to diff View file |
M | plugins/tracker/include/autoload.php | +7 | −2 | Go to diff View file |
M | plugins/tracker/site-content/en_US/script_locale.txt | +3 | −0 | Go to diff View file |
M | plugins/tracker/site-content/en_US/tracker.tab | +2 | −0 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/script_locale.txt | +3 | −0 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/tracker.tab | +2 | −0 | Go to diff View file |
A | plugins/tracker/tests/Tracker/UgroupMappingBuilderTest.php | +71 | −0 | Go to diff View file |
A | plugins/tracker/tests/Tracker/UgroupPermissionsConsistencyCheckerTest.php | +150 | −0 | Go to diff View file |
A | plugins/tracker/www/scripts/TrackerCheckUgroupConsistency.js | +107 | −0 | Go to diff View file |
M | src/common/dao/UGroupDao.class.php | +9 | −0 | Go to diff View file |
M | src/common/project/UGroup.class.php | +2 | −0 | Go to diff View file |
M | src/common/project/UGroupManager.class.php | +11 | −0 | Go to diff View file |
M | src/www/themes/common/css/style.css | +11 | −0 | Go to diff View file |