Skip to content
Snippets Groups Projects
Verified Commit 32e99a14 authored by Pedro Pombeiro's avatar Pedro Pombeiro
Browse files

Fix runner_performance_insights license check

EE: true
parent caa34380
No related branches found
No related tags found
2 merge requests!148930Uses billable_member util in PreviewBillableUserChangeService,!148744Fix runner_performance_insights license check
......@@ -307,8 +307,8 @@ module GroupPolicy
condition(:duo_features_enabled, scope: :subject) { @subject.namespace_settings&.duo_features_enabled }
condition(:runner_performance_insights_available, scope: :subject) do
@subject.feature_available?(:runner_performance_insights)
condition(:runner_performance_insights_available, scope: :global) do
License.feature_available?(:runner_performance_insights)
end
rule { user_banned_from_namespace }.prevent_all
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment