ae_declarative_authorization 2.3.1 → 2.3.2
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 10d59b8d7cd843293677626ec82be84c5bb54400571f7ce0266532e1c5927cb5
|
|
4
|
+
data.tar.gz: 04772ee453e6eb7315dbe8ae3d8a88c5aa2d228cefb0a459362c8e9c3ce1604a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ee9fcbc8815082766a011a102b1d7425d690f6072fd4d864de5a9de38dfe34e5384b73539ca89ac017dbd8558b86780a12fd0e9a27c42446733907b89f89f1fe
|
|
7
|
+
data.tar.gz: 94445e389ad96ff79c3e8d1ec6dd95e6c190cfa8a0b77e11fc5afe86c5b5b9252bc4c6e558277a78ba7165245aff28bb83b7a4e41398aee8653301ac1671c145
|
|
@@ -202,7 +202,7 @@ module Authorization
|
|
|
202
202
|
collections = actions_from_option(options[:collection]).merge(
|
|
203
203
|
actions_from_option(options[:additional_collection]))
|
|
204
204
|
|
|
205
|
-
no_attribute_check_actions = options[:strong_parameters] ?
|
|
205
|
+
no_attribute_check_actions = options[:strong_parameters] ? collections.merge(actions_from_option([:create])) : collections
|
|
206
206
|
|
|
207
207
|
options[:no_attribute_check] ||= no_attribute_check_actions.keys unless options[:nested_in]
|
|
208
208
|
|