Skip to content

Re-Add `Limitable` to project and group CI variables

Avielle Wolfe requested to merge 373289-readd-limitable-to-variables into master

What does this MR do and why?

This MR adds the Limitable module to Ci::Variable and Ci::GroupVariable, which enforces the plan limits for group and project CI variables.

Limitable was first added in !106213 (merged), but that was reverted because it broke master. This MR fixes the issue that broke master by avoiding cross-database queries.

MR acceptance checklist

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

Related to #373289 (closed)

Merge request reports

Loading