alchemy_cms 3.6.2 → 3.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/alchemy/permissions.rb +0 -7
- data/lib/alchemy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9e2cce85c52ff12e282cbcd0e4ec72f6b1deb4b
|
4
|
+
data.tar.gz: 47c0b0562f11648f2b262857034e2f1ecd9e2069
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 264fb1b76ecb285e940f1951d99ea57a53879f6d346d5b050ea96fd74fe2f45e68da13219fac61f532ad102d6600f3ef38bae1bd500ae620a34f0980d10acaa9
|
7
|
+
data.tar.gz: 6968929958734e0ed852a9b0f182de6b5123445f32a98a24821be2f5ed472eeb883d580c41cfd28ee9c6b5525059df0f596fed0e7e2109f1e47b053f1e0ce737
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 3.6.3 (2017-10-24)
|
4
|
+
|
5
|
+
* Remove `:display` cancan alias [#1318](https://github.com/AlchemyCMS/alchemy_cms/pull/1318) by [tvdeyen](https://github.com/tvdeyen)
|
6
|
+
|
3
7
|
## 3.6.2 (2017-09-01)
|
4
8
|
|
5
9
|
* Handle custom errors in `Alchemy::Picture#url` [#1305](https://github.com/AlchemyCMS/alchemy_cms/pull/1305) by [tvdeyen](https://github.com/tvdeyen)
|
data/lib/alchemy/permissions.rb
CHANGED
@@ -35,7 +35,6 @@ module Alchemy
|
|
35
35
|
def alchemy_guest_user_rules
|
36
36
|
can([:show, :download], Alchemy::Attachment) { |a| !a.restricted? }
|
37
37
|
can :see, Alchemy::Page, restricted: false, visible: true
|
38
|
-
can(:display, Alchemy::Picture) { |p| !p.restricted? }
|
39
38
|
|
40
39
|
can :read, Alchemy::Content, Alchemy::Content.available.not_restricted do |c|
|
41
40
|
c.public? && !c.restricted? && !c.trashed?
|
@@ -65,7 +64,6 @@ module Alchemy
|
|
65
64
|
can [:show, :download], Alchemy::Attachment
|
66
65
|
can :read, Alchemy::Page, Alchemy::Page.published, &:public?
|
67
66
|
can :see, Alchemy::Page, restricted: true, visible: true
|
68
|
-
can :display, Alchemy::Picture
|
69
67
|
|
70
68
|
can :read, Alchemy::Content, Alchemy::Content.available do |c|
|
71
69
|
c.public? && !c.trashed?
|
@@ -215,11 +213,6 @@ module Alchemy
|
|
215
213
|
:unlock,
|
216
214
|
:visit,
|
217
215
|
to: :edit_content
|
218
|
-
|
219
|
-
alias_action :show,
|
220
|
-
:thumbnail,
|
221
|
-
:zoom,
|
222
|
-
to: :display
|
223
216
|
end
|
224
217
|
|
225
218
|
# Include the role specific permissions.
|
data/lib/alchemy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alchemy_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2017-
|
16
|
+
date: 2017-10-24 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: active_model_serializers
|
@@ -995,7 +995,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
995
995
|
requirements:
|
996
996
|
- ImageMagick (libmagick), v6.6 or greater.
|
997
997
|
rubyforge_project:
|
998
|
-
rubygems_version: 2.6.
|
998
|
+
rubygems_version: 2.6.13
|
999
999
|
signing_key:
|
1000
1000
|
specification_version: 4
|
1001
1001
|
summary: A powerful, userfriendly and flexible CMS for Rails 4
|