elody 0.0.187__tar.gz → 0.0.188__tar.gz
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.
- {elody-0.0.187 → elody-0.0.188}/PKG-INFO +1 -1
- {elody-0.0.187 → elody-0.0.188}/pyproject.toml +1 -1
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/permission_handler.py +2 -6
- {elody-0.0.187 → elody-0.0.188}/src/elody.egg-info/PKG-INFO +1 -1
- {elody-0.0.187 → elody-0.0.188}/LICENSE +0 -0
- {elody-0.0.187 → elody-0.0.188}/README.md +0 -0
- {elody-0.0.187 → elody-0.0.188}/setup.cfg +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/__init__.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/__init__.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/client.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/csv.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/error_codes.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/exceptions.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/job.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/loader.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/migration/__init__.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/migration/base_object_migrator.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/object_configurations/__init__.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/object_configurations/base_object_configuration.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/object_configurations/elody_configuration.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/object_configurations/job_configuration.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/__init__.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authentication/__init__.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authentication/base_user_tenant_validation_policy.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authentication/multi_tenant_policy.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/__init__.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/filter_generic_objects_policy.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/filter_generic_objects_policy_v2.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/generic_object_detail_policy.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/generic_object_mediafiles_policy.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/generic_object_metadata_policy.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/generic_object_relations_policy.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/generic_object_request_policy.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/generic_object_request_policy_v2.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/mediafile_derivatives_policy.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/mediafile_download_policy.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/multi_tenant_policy.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/tenant_request_policy.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/helpers.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/policies/tenant_id_resolver.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/schemas.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/util.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody/validator.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody.egg-info/SOURCES.txt +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody.egg-info/dependency_links.txt +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody.egg-info/requires.txt +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/elody.egg-info/top_level.txt +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/tests/__init_.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/tests/data.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/tests/unit/__init__.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/tests/unit/test_csv.py +0 -0
- {elody-0.0.187 → elody-0.0.188}/src/tests/unit/test_utils.py +0 -0
|
@@ -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)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{elody-0.0.187 → elody-0.0.188}/src/elody/object_configurations/base_object_configuration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/filter_generic_objects_policy.py
RENAMED
|
File without changes
|
{elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/filter_generic_objects_policy_v2.py
RENAMED
|
File without changes
|
{elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/generic_object_detail_policy.py
RENAMED
|
File without changes
|
{elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/generic_object_mediafiles_policy.py
RENAMED
|
File without changes
|
{elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/generic_object_metadata_policy.py
RENAMED
|
File without changes
|
{elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/generic_object_relations_policy.py
RENAMED
|
File without changes
|
{elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/generic_object_request_policy.py
RENAMED
|
File without changes
|
{elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/generic_object_request_policy_v2.py
RENAMED
|
File without changes
|
{elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/mediafile_derivatives_policy.py
RENAMED
|
File without changes
|
{elody-0.0.187 → elody-0.0.188}/src/elody/policies/authorization/mediafile_download_policy.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|