sequel-privacy 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sequel/privacy/enforcer.rb +1 -1
- data/lib/sequel/privacy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f44402a685dc5c1569213ac155c7fba6ecbd291eb8a2091491f510105ddcc4d7
|
|
4
|
+
data.tar.gz: bc3a007c36fb539cd5f911b65c8bccf087218bd871b53991cfb9987cf44acc1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8ed3ffe946e6525075651c1965ded61114b44d0bfc10e67bcac71d5d2bfce7f8dcd682818fc6c1611eaca1ab8cfd5d709c24067d03c394edcb31b4de5b08593
|
|
7
|
+
data.tar.gz: 694cc27fb53f8ef0c68c7ab645c3f55251d1b3c838fdb9f52c9cf66bbbd33a8caff9d8969f0157f8fef8101562a99e570fbe3916d2d04389eccb7fc207a2aa5c
|
|
@@ -61,7 +61,7 @@ module Sequel
|
|
|
61
61
|
|
|
62
62
|
# Fail-secure: every chain ends with AlwaysDeny.
|
|
63
63
|
unless policies.last == BuiltInPolicies::AlwaysDeny
|
|
64
|
-
logger&.
|
|
64
|
+
logger&.debug { 'Policy chain should end with AlwaysDeny. Appending it.' }
|
|
65
65
|
policies = policies.dup << BuiltInPolicies::AlwaysDeny
|
|
66
66
|
end
|
|
67
67
|
|