stable

Clone or download

Read-only

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

For now since the search possibilities are hardcoded in the SQL query, the CrossTrackerReport also has hardcoded search 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: I3636dfc8974ca01129ad53889dd25a251d520c60

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/CrossTrackerReport.php +15 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Permission/CrossTrackerPermissionGate.php +11 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Permission/CrossTrackerUnauthorizedSearchFieldException.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 +4 −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 +24 −0 Go to diff View file