ecm_core_info_backend 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fec8a4d6c346ea2e9029b8a435fcca31446fa4b
4
- data.tar.gz: 11e70cf81cfff09edb87fbc256eb25f59a2679fc
3
+ metadata.gz: 55b810fbacd9df2a8843c55289de784c14338e7a
4
+ data.tar.gz: 86090f2cabbef65862cd8bc431a85c9ddf148142
5
5
  SHA512:
6
- metadata.gz: bd8d3200fc3ae0409bc319e25b4cfedf3383935432297e8e96f8643231bc0fbffa6a87a46c5856d34516a782e3c38e2bbba8ed918c0bd6f8deab588d11f8f6bc
7
- data.tar.gz: d15bb500074334e891abdba17db95e0579788a093b01421a96ae95943837f7c9807ef992f1a881a7180fbf2ce92fb7d9b70c8111ce66c11af56f25c6dd957d16
6
+ metadata.gz: cd2657df8cfe1a8db08d4786273da34f2970c1a8417f436bab653fa635bcd45fbb386c33e4e9a0d24a556910acbb194d8cbc67093bb2b0e3c86076fda5b07c2a
7
+ data.tar.gz: 56498f6c30f1b8ccb078ebb05b3843a884c9435c12d4411ef6fc1998fdf460632b770879d9144298856e8fe9b03a4e1ceba386bc85c680d78443b724e2845f06
@@ -0,0 +1,4 @@
1
+ module Ecm::CoreInfo::Backend
2
+ class EnginePolicy < Itsf::Backend::EnginePolicy
3
+ end
4
+ end
data/config/rbac.yml ADDED
@@ -0,0 +1,40 @@
1
+ defaults:
2
+ permissions:
3
+ - ecm/core_info/backend/engine
4
+ - ecm/core_info/gem/index
5
+ - ecm/core_info/gem/show
6
+ - ecm/core_info/gem/new
7
+ - ecm/core_info/gem/create
8
+ - ecm/core_info/gem/edit
9
+ - ecm/core_info/gem/update
10
+ - ecm/core_info/gem/destroy
11
+ - ecm/core_info/rails_engine/index
12
+ - ecm/core_info/rails_engine/show
13
+ - ecm/core_info/rails_engine/new
14
+ - ecm/core_info/rails_engine/create
15
+ - ecm/core_info/rails_engine/edit
16
+ - ecm/core_info/rails_engine/update
17
+ - ecm/core_info/rails_engine/destroy
18
+ roles:
19
+ ecm/core_info/administrator:
20
+ - ecm/core_info/backend/engine
21
+ - ecm/core_info/gem/index
22
+ - ecm/core_info/gem/show
23
+ - ecm/core_info/gem/new
24
+ - ecm/core_info/gem/create
25
+ - ecm/core_info/gem/edit
26
+ - ecm/core_info/gem/update
27
+ - ecm/core_info/gem/destroy
28
+ - ecm/core_info/rails_engine/index
29
+ - ecm/core_info/rails_engine/show
30
+ - ecm/core_info/rails_engine/new
31
+ - ecm/core_info/rails_engine/create
32
+ - ecm/core_info/rails_engine/edit
33
+ - ecm/core_info/rails_engine/update
34
+ - ecm/core_info/rails_engine/destroy
35
+ ecm/core_info/reviewer:
36
+ - ecm/core_info/backend/engine
37
+ - ecm/core_info/gem/index
38
+ - ecm/core_info/gem/show
39
+ - ecm/core_info/rails_engine/index
40
+ - ecm/core_info/rails_engine/show
@@ -1,7 +1,7 @@
1
1
  module Ecm
2
2
  module CoreInfo
3
3
  module Backend
4
- VERSION = '0.0.3'.freeze
4
+ VERSION = '0.0.4'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_core_info_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-29 00:00:00.000000000 Z
11
+ date: 2016-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -45,6 +45,7 @@ files:
45
45
  - app/helpers/ecm/core_info/backend/application_helper.rb
46
46
  - app/models/ecm/core_info/gem.rb
47
47
  - app/models/ecm/core_info/rails_engine.rb
48
+ - app/policies/ecm/core_info/backend/engine_policy.rb
48
49
  - app/serializers/ecm/core_info/gem_serializer.rb
49
50
  - app/serializers/ecm/core_info/rails_engine_serializer.rb
50
51
  - app/views/ecm/core_info/backend/engines/_table.haml
@@ -54,6 +55,7 @@ files:
54
55
  - config/initializers/extensions.rb
55
56
  - config/locales/de.yml
56
57
  - config/locales/en.yml
58
+ - config/rbac.yml
57
59
  - config/routes.rb
58
60
  - extensions/bundler/remote_specification_extension.rb
59
61
  - extensions/rails/engine_extension.rb