Skip to content

Show import results to more users than only migrating user

Problem

The import results on the direct transfer history page (group import history page) are visible only to the migrating user. In case more people in a company are involved in the migration process and auditing its results, this becomes an impediment.

Other users, including instance admins see a Request failed with status code 404 error in the UI:

mceclip0

Proposed solution

As we're allowing group owners to see the placeholders tab and re-assign contributions, we should allow all group owners to see import results to the group they own.

Permissions to run the direct transfer migration are (from docs):

You must have the Owner role on the source group to migrate from. You must have a role in the destination namespace that enables you to create a subgroup in that namespace.

Emails

As now only group owner that started import can see the result, the email about completed import goes only to them. When we change it, and all owners can see results, they should all get the email, as import is important change to their group.

Update the email body to something like "The import started by on..."

Design

  1. Add Import history to the Group sidebar
  2. This link should be visible for all the group owners and only for them, plus for Admin, if they navigate to this page. From comment: "I just verified that admins can access any group page if they know the group slug/path. They can even start a placeholder user reassignment."
  3. One difference between the user history page and group history page is a user, who started the import.

43

Table component MR -> !180098 (merged)

Table component in StoryBook -> http://localhost:9002/?path=/story/vue-shared-import-import-history-table--default

Figma file with workflow -> https://www.figma.com/design/8SyoJ7QPtz7CWhOtq5hAcz/%F0%9F%A4%94-Miocene's-ideas-exploration?node-id=1977-16276&t=cHJ4vk7MRvY4yCR7-1

Figma file with this issue -> https://www.figma.com/design/c67Fu98Fxcrn7uTR234GXm/Import-and-Integrate-follow-ups-from-17.9?node-id=4-2299&t=okoHIOWCznpLubO9-1

Ask @jmiocene if you have any questions or for UX reviews.

IMPORTANT NOTES

For users, the main proposal is to merge project and group import histories into one. There could be two different paths for group history page:

  1. You can add a group DT history page and later consider adding projects here too.
  2. Show only groups here, if it's not necessary to show project imports here too.
Edited by Julia Miocene