Skip to content

Expose user's plan only on EE

Eugie Limpin requested to merge el-move-ee-specs-under-ee-dir into master

What does this MR do and why?

Partially resolves #434036 (comment 1701858870).

A user can only have a GitLab subscription on EE.

This MR updates AbuseReportDetailsEntity to expose a user's plan when on EE only. By doing this we also cleanup specs that unnecessarily use if: Gitlab.ee? in CE specs.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Eugie Limpin

Merge request reports