Projects in Gold subgroups can't be added to operations dashboard

Summary

Adding a project within a subgroup fails with Unable to add <project>. The Operations Dashboard is available for projects with a Gold subscription., despite parent group having a Gold subscription.

Steps to reproduce

  1. In a Gold group, create a project within a subgroup
  2. Add that project to the operations dashboard

Example Project

https://gitlab.com/dotcom-support-testing/subgroup/subproject (internal)

What is the current bug behavior?

Unable to add project to operations dashboard

What is the expected correct behavior?

Project is added to operations dashboard

Relevant logs and/or screenshots

Output of checks

This bug happens on GitLab.com (11.5.0-rc4-ee)

Possible fixes

The subgroup's billing page suggests that it inherits the plan from the parent group, though in admin, the subgroup is technically on the free plan.

https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8399/diffs#87a71dc3302be6b74d1786f3381f93ee731f00b2_11_11

/cc @nick.thomas

ZD: https://gitlab.zendesk.com/agent/tickets/108161 (internal)

Assignee Loading
Time tracking Loading