ActionView::Template::Error: Use `License.feature_available?` for features that cannot be restricted to only a subset of proje...
https://sentry.gitlab.net/gitlab/gitlabcom/issues/3311471/?referrer=gitlab_plugin
ArgumentError: Use `License.feature_available?` for features that cannot be restricted to only a subset of projects or namespaces
app/models/project.rb:2910:in `security_training_available?'
licensed_feature_available?(:security_training)
app/presenters/projects/security/configuration_presenter.rb:28:in `to_h'
security_training_enabled: project.security_training_available?
app/presenters/projects/security/configuration_presenter.rb:33:in `to_html_data_attribute'
data = to_h
app/controllers/application_controller.rb:142:in `render'
super.tap do
app/controllers/application_controller.rb:527:in `set_current_admin'
return yield unless Gitlab::CurrentSettings.admin_mode
...
(198 additional frame(s) were not displayed)
ActionView::Template::Error: Use `License.feature_available?` for features that cannot be restricted to only a subset of projects or namespaces
When you click on Enable security Training on the security dashboard screen, you get a 500 error
request ID 01G3RRRN75TZ4MN39D4KDBMCP0
Edited by Thiago Figueiró