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 +4 -4
- data/infopark_fiona7.gemspec +1 -1
- data/lib/fiona7/fiona_connector_patches/cms_accessible.rb +8 -1
- data/lib/fiona7/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 504843bb60eca85c2ca891457f445eb2ffe43710
|
4
|
+
data.tar.gz: 19ae54e6a58a712ce3aaeb8598c12a33d0d2f07b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a877bbc40ef08bdec1df29032bb724e2a56fdf5ef9f8ea8334b346ae940e50352a32a4b8c1eecb53f83b1619c9cae0eead8d90fa55fa620e2c2b364dd8925cb
|
7
|
+
data.tar.gz: 79b2bc00e62d46d4dd3ac73143dd28a291a96fed0d7854a7e8b4f9b248e4553c147dc3f7b76b0fad863cd7c41ef2cfa4965c28d99781b7ae786c90b6725e9375
|
data/infopark_fiona7.gemspec
CHANGED
@@ -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.
|
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
|
-
|
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
|
data/lib/fiona7/version.rb
CHANGED
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
|
+
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-
|
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.
|
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.
|
96
|
+
version: 1.18.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: mini_magick
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|