stable

Clone or download

Read-only

Ensure preemptively that users can access to all column fields of the cross-tracker search

For now since the columns are harcoded, the CrossTrackerReport also has hardcoded column fields. This is part of story #10677: ensure query is consistent before execution Displaying an helpful error message in the widget UI is going to be done in a future contribution. Change-Id: Ic459d60f0248451049de59a8a2337c98f10ed485

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/CrossTrackerReport.php +19 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Permission/CrossTrackerPermissionGate.php +15 −4 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Permission/CrossTrackerUnauthorizedColumnFieldException.php +29 −0 Go to diff View file
M plugins/crosstracker/include/autoload.php +3 −2 Go to diff View file
M plugins/crosstracker/site-content/fr_FR/LC_MESSAGES/tuleap-crosstracker.po +5 −1 Go to diff View file
M plugins/crosstracker/site-content/tuleap-crosstracker.pot +3 −0 Go to diff View file
M plugins/crosstracker/tests/CrossTracker/Permission/CrossTrackerPermissionGateTest.php +27 −0 Go to diff View file