Skip to content

Send security training enabled status from backend

Subashis Chakraborty requested to merge 358182-license-helper into master

This MR reintroduces the changes of backend from this MR with some changes. According these discussions, !86639 (comment 93586712),7 !86639 (comment 937141695), we want here licensed feature availability in project level as we are doing for other vulnerability features https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/models/gitlab_subscriptions/features.rb#L205.

Why it is needed?: Security training feature should be available only to ultimate customers.

Frontend change based in this MR: !89503 (merged)

Mandatory Testing Requirement

Make sure to simulate the SaaS version of the product and conduct the following test when developing locally:

  1. export GITLAB_SIMULATE_SAAS=1 <- Simulate your development is GitLab.com, info
  2. git checkout 358182-send-security-training-enabled-using-backend
  3. gdk restart
  4. Admin > Settings > General > "Account and limit" > enable "Allow use of licensed EE features"

Related to #358182 (closed)

Edited by Subashis Chakraborty

Merge request reports

Loading