Skip to content

Fix quick action permissions to match UI

Heinrich Lee Yu requested to merge fix-quick-actions-permissions into master

What does this MR do and why?

This changes permissions on some quick actions to match what we check in the issuable base service: https://gitlab.com/gitlab-org/gitlab/blob/069d93fc795fcd5811f0b8ee978b453920860ed1/app/services/issuable_base_service.rb#L37-54

We recently changed the check in the service so that guests can set labels, milestones, and other metadata when creating an issue. This allows them to set those via quick actions.

Related to #276388 (comment 664345151)

How to set up and validate locally

  1. As a Guest member (Important! This does not work for non-members on a public project), create a new issue
  2. Check the available quick actions in the autocomplete
  3. Check that the quick actions take effect

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Heinrich Lee Yu

Merge request reports