logical_authz 0.1.7 → 0.1.8
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.
- data/lib/logical_authz/application.rb +2 -1
- metadata +4 -4
@@ -24,9 +24,10 @@ module LogicalAuthz
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def strip_record(record)
|
27
|
+
laz_debug{"Logical Authz: stripping: #{record.inspect}"}
|
27
28
|
{
|
28
29
|
:rule => record[:determining_rule].try(:name),
|
29
|
-
:logged_in => !record[:user].nil?,
|
30
|
+
:logged_in => !(record[:criteria] || {})[:user].nil?,
|
30
31
|
:reason => record[:reason],
|
31
32
|
:result => record[:result]
|
32
33
|
}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logical_authz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 8
|
10
|
+
version: 0.1.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Judson Lester
|
@@ -95,7 +95,7 @@ rdoc_options:
|
|
95
95
|
- --main
|
96
96
|
- doc/README
|
97
97
|
- --title
|
98
|
-
- logical_authz-0.1.
|
98
|
+
- logical_authz-0.1.8 RDoc
|
99
99
|
require_paths:
|
100
100
|
- lib
|
101
101
|
required_ruby_version: !ruby/object:Gem::Requirement
|