Skip to content

Use project's group as actor for remove_comment_close_reopen flag

Patrick Bajao requested to merge 198562-fix-feature-flag-actor into master

What does this MR do?

When viewing an issue or merge request, the @group ivar isn't present. For the flag to work for group, we get the @project's group instead if @group isn't present.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #198562 (closed)

Merge request reports