Revision 1b5f7caa
Added by Marek Hulán over 5 years ago
lib/foreman_docker/engine.rb | ||
---|---|---|
42 | 42 |
|
43 | 43 |
initializer 'foreman_docker.register_plugin', :before => :finisher_hook do |
44 | 44 |
Foreman::Plugin.register :foreman_docker do |
45 |
requires_foreman '>= 1.11'
|
|
45 |
requires_foreman '>= 1.15'
|
|
46 | 46 |
compute_resource ForemanDocker::Docker |
47 | 47 |
|
48 | 48 |
sub_menu :top_menu, :containers_menu, :caption => N_('Containers'), |
... | ... | |
103 | 103 |
:resource_type => 'Docker/ImageSearch' |
104 | 104 |
end |
105 | 105 |
|
106 |
add_all_permissions_to_default_roles |
|
107 |
|
|
106 | 108 |
parameter_filter ComputeResource, :email |
107 | 109 |
|
108 | 110 |
# apipie API documentation |
Also available in: Unified diff
Fixes #17960 - add plugin permissions to core