stable

Clone or download

Read-only

[feature] User must be Jira project administrator

This fixes request #21862 Jira project and issueType import must be done by an administrator The Jira project or issueType import must only be allowed to Jira project administrators Change-Id: If035dd5ef4652adba1f6cdb095dce9cb114b96e4

Modified Files

Name
M plugins/jira_import/include/Project/CreateProjectFromJira.php +12 −1 Go to diff View file
M plugins/jira_import/include/jira_importPlugin.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/FromJiraTrackerCreator.php +22 −4 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/UserRole/UserIsNotProjectAdminException.php +28 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/UserRole/UserRolesChecker.php +70 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/UserRole/UserRolesResponseNotWellFormedException.php +28 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/FromJiraTrackerCreatorTest.php +77 −3 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/UserRole/UserRolesCheckerTest.php +128 −0 Go to diff View file