elody 0.0.187__py3-none-any.whl → 0.0.188__py3-none-any.whl

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.
@@ -210,20 +210,16 @@ def __is_allowed_to_crud_item_keys(
210
210
  )
211
211
  if element:
212
212
  item_in_storage_format[info["key"]].remove(element)
213
- if key_to_check and key_to_check == restricted_key:
214
- user_context.bag["restricted_keys"].append(
215
- restricted_key
216
- )
217
213
  break
218
214
  else:
219
215
  try:
220
216
  del item_in_storage_format[keys_info[0]["key"]][
221
217
  keys_info[1]["key"]
222
218
  ]
223
- if key_to_check and key_to_check == restricted_key:
224
- user_context.bag["restricted_keys"].append(restricted_key)
225
219
  except KeyError:
226
220
  pass
221
+ if key_to_check and key_to_check == restricted_key:
222
+ user_context.bag["restricted_keys"].append(restricted_key)
227
223
  else:
228
224
  if flat_request_body.get(restricted_key):
229
225
  user_context.bag["restricted_keys"].append(restricted_key)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: elody
3
- Version: 0.0.187
3
+ Version: 0.0.188
4
4
  Summary: elody SDK for Python
5
5
  Author-email: Inuits <developers@inuits.eu>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -17,7 +17,7 @@ elody/object_configurations/elody_configuration.py,sha256=8r2mlGBiaNF3tUET86faAa
17
17
  elody/object_configurations/job_configuration.py,sha256=HMDxaRUyfqhIy0q3yQDDMH9uW5iCd7VCmqknQofXNt0,2039
18
18
  elody/policies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  elody/policies/helpers.py,sha256=AV3wtvthJafW6ueEYGxggB5kk5knWTWzh3zq29Y1-ws,1434
20
- elody/policies/permission_handler.py,sha256=8XfhyRVsLjcb3JaBiDtFO1w4XDDTEZUHsLN-8VDvk8I,10126
20
+ elody/policies/permission_handler.py,sha256=C5wwgAplxmrkrseA-oNjX_Ff1PfVGP5NIvpx0F5PYho,9869
21
21
  elody/policies/tenant_id_resolver.py,sha256=BIl6lr9AH6Q_aZSsxF24B7ramkIZH-R-8bpLrTvYLtM,13796
22
22
  elody/policies/authentication/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
23
  elody/policies/authentication/base_user_tenant_validation_policy.py,sha256=fxvrB4iG6fehBh6b4XS8AWewtNsCABgSooma5ljjZk4,5144
@@ -40,8 +40,8 @@ tests/data.py,sha256=Q3oxduf-E3m-Z5G_p3fcs8jVy6g10I7zXKL1m94UVMI,2906
40
40
  tests/unit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
41
  tests/unit/test_csv.py,sha256=NQaOhehfQ4GuXku0Y1SA8DYjJeqqidbF50zEHAi8RZA,15923
42
42
  tests/unit/test_utils.py,sha256=g63szcEZyHhCOtrW4BnNbcgVca3oYPIOLjBdIzNwwN0,8784
43
- elody-0.0.187.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
44
- elody-0.0.187.dist-info/METADATA,sha256=4qxxxYnRYpABiRcAy3TGt1_joFzBVjk9IMi9zYltCKo,23336
45
- elody-0.0.187.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
46
- elody-0.0.187.dist-info/top_level.txt,sha256=E0mImupLj0KmtUUCXRYEoLDRaSkuiGaOIIseAa0oQ-M,21
47
- elody-0.0.187.dist-info/RECORD,,
43
+ elody-0.0.188.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
44
+ elody-0.0.188.dist-info/METADATA,sha256=nDN-8EBvPCL_koLBtbONT0xMBJgqxXwdInAd9zHaZFI,23336
45
+ elody-0.0.188.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
46
+ elody-0.0.188.dist-info/top_level.txt,sha256=E0mImupLj0KmtUUCXRYEoLDRaSkuiGaOIIseAa0oQ-M,21
47
+ elody-0.0.188.dist-info/RECORD,,