stable
Clone or download
Read-only
Part of story #39003 Choose my own columns based on special fields When using TrackersPermissionsRetriever::retrieveUserPermissionOnFields for read permissions, it doesn't check update permissions. But if a user group has update permission it has also read permission. Also force DuckTypedFieldChecker to use TrackersPermissionsRetriever *Testing:* Have a tracker with a simple field, change its permissions for project member to update and clear all other permissions (-). In your XTS widget, if you select on this field (duck typingm method) you should see some results Change-Id: I2ef72b50b759149069bcbed69103fe704a61c72e
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/DuckTypedField/DuckTypedFieldChecker.php | +10 | −21 | Go to diff View file |
M | plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/QueryValidation/DuckTypedField/DuckTypedFieldCheckerTest.php | +15 | −10 | Go to diff View file |
M | plugins/tracker/include/Tracker/Permission/TrackersPermissionsRetriever.php | +14 | −2 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Permission/TrackersPermissionsRetrieverTest.php | +30 | −0 | Go to diff View file |