infopark_fiona7 0.71.1.4 → 0.71.1.5

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: 0d8b201b6a4452091465d86a8dccc8a743b9e287
4
- data.tar.gz: d0b4b9eba303b752fed9d11e931add5722116051
3
+ metadata.gz: 504843bb60eca85c2ca891457f445eb2ffe43710
4
+ data.tar.gz: 19ae54e6a58a712ce3aaeb8598c12a33d0d2f07b
5
5
  SHA512:
6
- metadata.gz: a7569e6bebe621be9d0d1e5aa2b5caa987377d325e7d63a2be9a52af3af9e6748c7e0456731e604f10087bd38648bbc03e3276e31723d61fb89f827c6539318a
7
- data.tar.gz: 2249c27ce493f725190214fa86f23f756ea70063f2b7555d618f727e80008712c5946ef94fa157c76c5aee211a780b95a5c2535040eb83e4a0e102fe37b55fa4
6
+ metadata.gz: 5a877bbc40ef08bdec1df29032bb724e2a56fdf5ef9f8ea8334b346ae940e50352a32a4b8c1eecb53f83b1619c9cae0eead8d90fa55fa620e2c2b364dd8925cb
7
+ data.tar.gz: 79b2bc00e62d46d4dd3ac73143dd28a291a96fed0d7854a7e8b4f9b248e4553c147dc3f7b76b0fad863cd7c41ef2cfa4965c28d99781b7ae786c90b6725e9375
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.add_dependency "scrivito_sdk"
22
22
  s.add_dependency "scrivito_editors"
23
23
  s.add_dependency "infopark_fiona_connector", "= 7.0.1.beta2"
24
- s.add_dependency "infopark_reactor", ">= 1.16.0"
24
+ s.add_dependency "infopark_reactor", ">= 1.18.0"
25
25
  s.add_dependency "mini_magick"
26
26
  s.add_development_dependency "ruby-prof"
27
27
  end
@@ -9,7 +9,14 @@ module RailsConnector
9
9
 
10
10
  # changed to check live and read permissions
11
11
  def ensure_object_is_permitted
12
- unless Fiona7::AccessPermissionCheck.new(@obj, request.env, current_user, rsession && rsession.user? && rsession.user).read_permitted?
12
+ begin
13
+ cms_user = rsession && rsession.user? && rsession.user
14
+ # CM down, user not found, etc ~> no user
15
+ rescue => e
16
+ cms_user = false
17
+ end
18
+
19
+ unless Fiona7::AccessPermissionCheck.new(@obj, request.env, current_user, cms_user).read_permitted?
13
20
  @obj = nil
14
21
  render_obj_error(403, "forbidden")
15
22
  return false
@@ -1,3 +1,3 @@
1
1
  module Fiona7
2
- VERSION = "0.71.1.4"
2
+ VERSION = "0.71.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_fiona7
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.71.1.4
4
+ version: 0.71.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Przedmojski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-03 00:00:00.000000000 Z
11
+ date: 2015-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 1.16.0
89
+ version: 1.18.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 1.16.0
96
+ version: 1.18.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: mini_magick
99
99
  requirement: !ruby/object:Gem::Requirement