stable

Clone or download

Read-only

feat: TrackersPermissionsRetriever can fetch Trackers submit permission

Part of request #37580 Permissions API You can now check Tracker submit permissions all at once instead of one by one. *No functional changes expected* Change-Id: I88e560c4e7f288ada6f33e8f26af4b9f0552a559

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Permission/CrossTrackerPermissionGate.php +2 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +1 −7 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +1 −7 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Permission/CrossTrackerPermissionGateTest.php +7 −6 Go to diff View file
M plugins/tracker/include/Tracker/Permission/FieldPermissionType.php +5 −3 Go to diff View file
M plugins/tracker/include/Tracker/Permission/RetrieveUserPermissionOnTrackers.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Permission/SearchUserGroupsPermissionOnTrackers.php +8 −1 Go to diff View file
M plugins/tracker/include/Tracker/Permission/TrackerPermissionType.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Permission/TrackersPermissionsDao.php +29 −1 Go to diff View file
M plugins/tracker/include/Tracker/Permission/TrackersPermissionsRetriever.php +76 −3 Go to diff View file
R plugins/tracker/tests/integration/Permission/TrackersPermissionsDaoTest.php Go to diff View file
A plugins/tracker/tests/integration/Permission/TrackersPermissionsDaoOnTrackersTest.php +111 −0 Go to diff View file
M plugins/tracker/tests/integration/Test/Builders/TrackerDatabaseBuilder.php +14 −1 Go to diff View file
M plugins/tracker/tests/unit/Stub/Tracker/Permission/RetrieveUserPermissionOnTrackersStub.php +22 −17 Go to diff View file
M plugins/tracker/tests/unit/Stub/Tracker/Permission/SearchUserGroupsPermissionOnTrackersStub.php +32 −9 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Permission/TrackersPermissionsRetrieverTest.php +127 −32 Go to diff View file