stable

Clone or download

Read-only

Fix request #33003 Artifact link value in webhook must not check permissions

Given an artifact updated that have at lease one artifact link non readable by the current user, then this link information is not provided in the webhook payload. All the artifact content must be sent in the webhook payload without checking permissions. How to test ----------- * Go to an artifact as a user that cannot see at least one artifact link * Enable webhooks for this tracker * Edit the artifact with the user that cannot see at least one artifact link => The webhook payload sent must have all the link informations. Change-Id: I0e2ff0757507678c67c246cc0e1dc9998ad4edef

Modified Files

Name
M plugins/tracker/include/REST/Artifact/Changeset/ChangesetRepresentationBuilder.php +6 −2 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/Changeset/ChangesetRepresentationBuilderTest.php +12 −4 Go to diff View file