UX: Managing Atlassian permissions

Problem to solve

As described in the epic &4954

As an individual user, I want to use those Atlassian credentials to...

  • View a list of Jira issues, so that I'm only viewing the issues I have access to.
  • View the details of the Jira issue, so I can understand the full context of the item.
  • Comment on issues, to participate in the discussion of the work.
  • Edit/manipulate the details of the issue, such as changing the description, adding labels, and setting the status.

In order to support these stories, there needs to be a way for the integration admin to specify what permissions a GitLab user should have when viewing / interacting with data coming from Jira.

Proposal

  1. Under the "View Jira Issues in GitLab" section, we should add a new sub-section called "Permissions"
  2. Option 1 (default), require that all GitLab users authenticate with their Atlassian credentials in order to view / edit Jira issues inside of GitLab
  3. Option 2, Allow GitLab users read-only access to Jira issues that the integration admin has access to. GitLab users will still be required to authenticate with their Atlassian credentials in order to Edit, comment, or create new Jira issues within GitLab.

Additional user stories to consider

As a GitLab group owner and Atlassian admin, I want to...

  1. Setup a group-level Jira integration in GitLab so that everyone on my team will have access to the same information (Individual OAuth not required).
  2. Setup a group-level Jira integration that requires my team members to authenticate with their Atlassian credentials so that team members will ONLY have access to items that they have permission to access with their Jira permissions (Individual OAuth required).
  3. Setup my GitLab groups in different way so that one of my groups requires my team to OAuth and the other does not require a team to OAuth with Atlassian.

As a GitLab project owner/contributor that uses Jira, I want to...

  1. Be able to view and create new Jira issues inside of GitLab so that I don't have to leave GitLab.
  2. Remove the ability to see Jira issues inside GitLab so that I don't have to ask an admin to do so.
Edited by Libor Vanc