caboose-cms 0.7.35 → 0.7.36

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: b960f7810d8424bc8dc81c531027d9f70616f590
4
- data.tar.gz: 18e722459d2593c3ac5dda94a731faa6cd1d34a5
3
+ metadata.gz: e43b30634033a67c5d9855f32f696fb96f7e809f
4
+ data.tar.gz: d804701252602f78b36dcdd91d4505521fdf9d81
5
5
  SHA512:
6
- metadata.gz: 02f26807b916103ad9345f99f3f1661fc3253fefd7a527bc66a7353f9349eba4e63d7b80ed52e59a40fabe450738a9052f622cbce4febc552159fcf4d2050e62
7
- data.tar.gz: 62403b73f807ca49b53d2c4c985bd19b7783d78d1ad9e47fd09d11990d6590f4b1859ec4b28e7fa101f11f4442987bc6d9b723c3f6613233cc04b02fb4c441c4
6
+ metadata.gz: 280a55f897ee7bafea5d2d2f2582f79ca8a8c311e868362137be0946d0d1a9675b558c439505daccce8db3590f778e870fed1eb5ee78e4b38d6f4f2f5d09cb5c
7
+ data.tar.gz: 2d227c4d3e18255129b4b099bdc99c92187126848630ea20cb3ae3b8a31e9f8ba310246f2e1083a86d5103a1c4e06eb26b9ef5b996472beb48fa7b28f65e76d2
@@ -41,12 +41,12 @@ class Caboose::User < ActiveRecord::Base
41
41
  eli = Caboose::Role.logged_in_role(self.site_id)
42
42
  return true if self.id != elo.id && eli.is_allowed(resource, action)
43
43
  for role in roles
44
- Caboose.log("Checking permissions for #{role.name} role")
44
+ #Caboose.log("Checking permissions for #{role.name} role")
45
45
  if role.is_allowed(resource, action)
46
- Caboose.log("Role #{role.name} is allowed to view page")
46
+ #Caboose.log("Role #{role.name} is allowed to view page")
47
47
  return true
48
48
  else
49
- Caboose.log("Role #{role.name} is not allowed to view page")
49
+ #Caboose.log("Role #{role.name} is not allowed to view page")
50
50
  end
51
51
  #return true if role.is_allowed(resource, action)
52
52
  end
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.7.35'
2
+ VERSION = '0.7.36'
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.7.35
4
+ version: 0.7.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry