Skip to content
Snippets Groups Projects

Add `admin_runners` custom role permission

Merged mo khan requested to merge mokhax/442851/admin_runners into master
1 file
+ 8
0
Compare changes
  • Side-by-side
  • Inline
@@ -59,6 +59,14 @@
let_it_be(:runner) { create(:ci_runner, :project, projects: [project]) }
it { expect_allowed :read_runner }
context 'with `custom_ability_admin_runners` disabled' do
before do
stub_feature_flags(custom_ability_admin_runners: false)
end
it { expect_disallowed :read_runner }
end
end
end
end
Loading