summaryrefslogtreecommitdiff
path: root/scripts/frontend/frontend_script_utils.js
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-03-13 13:32:33 +0100
committerBob Van Landuyt <bob@vanlanduyt.co>2018-03-14 13:39:08 +0100
commitca8f1ed9bbded05218c0d0398a1f96a6e03ecf53 (patch)
treecc88ccf8802c03c619e858e9b606fba280b92731 /scripts/frontend/frontend_script_utils.js
parent5ae91f323d054341c0d012de85835ef40f1bf9f8 (diff)
downloadgitlab-ce-ca8f1ed9bbded05218c0d0398a1f96a6e03ecf53.tar.gz
Import multiple issue assignees from GitLab export
When importing from a GitLab archive, an admin can carry over the assignations. Other users can not. When a regular user is importing an issue with multiple assignees, the assignee is replaced with the current user, meaning we would try to insert current user as an assignee multiple times. By filtering the array before storing it, the import becomes more robust.
Diffstat (limited to 'scripts/frontend/frontend_script_utils.js')
0 files changed, 0 insertions, 0 deletions