eco-helpers 1.3.5 → 1.3.6
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f068ac5a87fcddd53b2ade559622c0f4f9b603f2f5398822b067bb59aec9b348
|
4
|
+
data.tar.gz: 39834d2736e117269c1b1e0fb10f6f851d306643ea4ec65203ee62006f5cb4de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 344a308dc23d4b462db4307aa3321c4dce1ef63bf322977a542dc6f2c46ce7a98320d51a0ab16ae765be5506565a93e4a85579684f985143deb1f6647e885ca4
|
7
|
+
data.tar.gz: ba70a2f335c345569a7f7295a501015cdb035fdfff90f01a6dd72fb63e9a348095f38adf40b5659fbcd3d181bf89abe62ec75620c505d420e95a2db451453fba
|
@@ -15,7 +15,7 @@ module Eco
|
|
15
15
|
if person = people.find(entry, strict: strict_search)
|
16
16
|
if person.account
|
17
17
|
ini_pg_ids = person.account&.policy_group_ids || []
|
18
|
-
add = entry.internal_entry["policy_group_ids"].split("|").compact
|
18
|
+
add = entry.internal_entry["policy_group_ids"].to_s.split("|").compact
|
19
19
|
person.account.policy_group_ids = (ini_pg_ids | add).uniq
|
20
20
|
|
21
21
|
person.account.permissions_custom = session.new_preset(person) unless options.dig(:exclude, :abilities)
|
data/lib/eco/version.rb
CHANGED