Fix failing specs

parent e087febe
...@@ -72,11 +72,6 @@ module EE ...@@ -72,11 +72,6 @@ module EE
ldap_lock_bypassable? ldap_lock_bypassable?
end end
with_scope :subject
condition(:security_orchestration_policies_enabled) do
@subject.feature_available?(:security_orchestration_policies)
end
condition(:security_dashboard_enabled) do condition(:security_dashboard_enabled) do
@subject.feature_available?(:security_dashboard) @subject.feature_available?(:security_dashboard)
end end
...@@ -411,10 +406,6 @@ module EE ...@@ -411,10 +406,6 @@ module EE
enable :admin_external_audit_events enable :admin_external_audit_events
end end
rule { security_orchestration_policies_enabled & can?(:developer_access) }.policy do
enable :security_orchestration_policies
end
rule { security_orchestration_policies_enabled & can?(:owner_access) }.policy do rule { security_orchestration_policies_enabled & can?(:owner_access) }.policy do
enable :update_security_orchestration_policy_project enable :update_security_orchestration_policy_project
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment