foreman_custom_tab 0.3.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/foreman_custom_tab/engine.rb +3 -6
- data/lib/foreman_custom_tab/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04a6a8a818805a5a392e5cf8a232482e092c9cd1
|
4
|
+
data.tar.gz: 7ba39a0f5c1b868e72f3c690948b2b4c3eab5e9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f52a21a02c9798328c24b8d0d61c4b5ea055cc726abf9c5eb679c91e54a32d08a2daaca80b0260f963054edcff53a858c7fee1e221238fe20c97d3304e97c595
|
7
|
+
data.tar.gz: 619e017d8a128e696ba5b9b85f4c35607258180a346074701ad42489ba9d4d2f107c3361e0ead407f582ac5592f8d3bf51d1cc1e6349ffe3ecc0f4f32aa12c3f
|
@@ -20,12 +20,9 @@ module ForemanCustomTab
|
|
20
20
|
requires_foreman '>= 1.7'
|
21
21
|
|
22
22
|
security_block :foreman_custom_tab do
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
pn = ps.pop
|
27
|
-
po = ps.detect { |p| p.name == :view_hosts }
|
28
|
-
po.actions << pn.actions.first
|
23
|
+
permission :view_custom_tab,
|
24
|
+
{ :hosts => [:custom_tab] },
|
25
|
+
:resource_type => 'Host'
|
29
26
|
end
|
30
27
|
end
|
31
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_custom_tab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Stannard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|