stable

Clone or download

Read-only

Export private comment ugroups in XML

This is part of story #19275 restrict who can see comments How to test: - Have a comment, and get its id - Add row in plugin_tracker_private_comment_permission with some existing (or not) ugroups_ids - Export the project/tracker to XML - Import this XML Expected results: - There will be new rows in plugin_tracker_private_comment_permission table with the new comment_id and new urgoup_ids (only if they exist) Change-Id: I492dce8127ec599e2eaaea5ecc6df26671cafbe2

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset_Comment.class.php +19 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker_Artifact_Changeset_CommentTest.php +90 −1 Go to diff View file