caboose-cms 0.8.22 → 0.8.23

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: 9b23c91e422882aa7a2522728cece022664c14eb
4
- data.tar.gz: 473227f99ed02278a43085af70c56d649313b2aa
3
+ metadata.gz: 04babeb3481e1edadccc8c132eb1c7409c2f368a
4
+ data.tar.gz: 113cfbb71e45cc6b767f41c041cc4b9058b4108a
5
5
  SHA512:
6
- metadata.gz: aef89e51edc32c7c82a85fa53c5f9125a85dadbb788a297016931c77d2741f8acf5da46f787bc8fcad47472aca3b633577e9f7c096b366b351d28c74c7401a70
7
- data.tar.gz: 31da9f3576d404741db9b19c0d7f43abdc439c4f645a1dacd293667125e362217fc52d9e9688ce1e4e9773cfd8ab134d085f2c2d2a8dd326a829dd2f235d70d9
6
+ metadata.gz: f37dd6e8abf32c8b9d958127e20c2640d70fc0a25a3016c9761b23cf6b40881cd994692a83ea38e4f1a445b288efa3dd3ffb99b523ed6a2660bc7290f55109cb
7
+ data.tar.gz: 57eec1e4319bf58e2ffaf0b9e812c05cd69c3b75051e97f513907b2fa81dc3e7ebd88a9ff49f9ebd4084989d11a6fb67c4f9857f606e39ff15c3824cd6688bf1
@@ -552,7 +552,7 @@ module Caboose
552
552
  when 'sitemap'
553
553
  parent_id = params[:parent_id]
554
554
  p = nil
555
- if params[:site_id] && @site.is_master && user_is_allowed('admin', 'admin')
555
+ if params[:site_id] && logged_in_user.is_super_admin?
556
556
  p = parent_id ? Page.find(parent_id) : Page.index_page(params[:site_id].to_i)
557
557
  else
558
558
  p = parent_id ? Page.find(parent_id) : Page.index_page(@site.id)
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.8.22'
2
+ VERSION = '0.8.23'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.22
4
+ version: 0.8.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry