stable

Clone or download

Read-only

fix: Check perms for status field

When a user cannot read a status field, its value should not be displayed in the SwitchTo modal. Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: I55b343bddd381a55f3405aa7fcb6b685cb3f05b2

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/RecentlyVisited/VisitRetriever.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/StatusBadgeBuilder.php +10 −2 Go to diff View file
M plugins/tracker/include/Tracker/Search/SearchResultRetriever.php +5 −1 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/RecentlyVisited/VisitRetrieverTest.php +3 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/StatusBadgeBuilderTest.php +34 −0 Go to diff View file