elody 0.0.231__py3-none-any.whl → 0.0.232__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.
- elody/policies/permission_handler.py +4 -0
- {elody-0.0.231.dist-info → elody-0.0.232.dist-info}/METADATA +1 -1
- {elody-0.0.231.dist-info → elody-0.0.232.dist-info}/RECORD +6 -6
- {elody-0.0.231.dist-info → elody-0.0.232.dist-info}/WHEEL +0 -0
- {elody-0.0.231.dist-info → elody-0.0.232.dist-info}/licenses/LICENSE +0 -0
- {elody-0.0.231.dist-info → elody-0.0.232.dist-info}/top_level.txt +0 -0
|
@@ -11,6 +11,7 @@ from elody.util import flatten_dict, interpret_flat_key
|
|
|
11
11
|
from flask import g
|
|
12
12
|
from inuits_policy_based_auth.contexts.user_context import UserContext
|
|
13
13
|
from logging_elody.log import log # pyright: ignore
|
|
14
|
+
from os import getenv
|
|
14
15
|
from storage.storagemanager import StorageManager # pyright: ignore
|
|
15
16
|
from werkzeug.exceptions import NotFound
|
|
16
17
|
|
|
@@ -128,6 +129,7 @@ def __generate_restriction_filters(restrictions_grouped_by_index):
|
|
|
128
129
|
],
|
|
129
130
|
"match_exact": True,
|
|
130
131
|
"or": [],
|
|
132
|
+
"policy_signature": getenv("STATIC_JWT"),
|
|
131
133
|
}
|
|
132
134
|
|
|
133
135
|
for combined_restriction in combined_restrictions:
|
|
@@ -139,6 +141,7 @@ def __generate_restriction_filters(restrictions_grouped_by_index):
|
|
|
139
141
|
"key": restriction["key"],
|
|
140
142
|
"value": [value],
|
|
141
143
|
"match_exact": True,
|
|
144
|
+
"policy_signature": getenv("STATIC_JWT"),
|
|
142
145
|
}
|
|
143
146
|
)
|
|
144
147
|
for key, value in combinations.items():
|
|
@@ -150,6 +153,7 @@ def __generate_restriction_filters(restrictions_grouped_by_index):
|
|
|
150
153
|
"key": key,
|
|
151
154
|
"value": value,
|
|
152
155
|
"match_exact": True,
|
|
156
|
+
"policy_signature": getenv("STATIC_JWT"),
|
|
153
157
|
}
|
|
154
158
|
)
|
|
155
159
|
filter["or"].append(combination)
|
|
@@ -18,7 +18,7 @@ elody/object_configurations/job_configuration.py,sha256=-wZi9bM3jEgyrfuBfMalrsMo
|
|
|
18
18
|
elody/object_configurations/saved_search_configuration.py,sha256=ddOry4EqYOeEKRF7q2M_fHoqZv8DXpQjFq8VaZ7jhVI,732
|
|
19
19
|
elody/policies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
20
|
elody/policies/helpers.py,sha256=G9B7IHO1h-dNtAPsRtmHN-wYat7F-1ryk32mcCetsgI,2505
|
|
21
|
-
elody/policies/permission_handler.py,sha256=
|
|
21
|
+
elody/policies/permission_handler.py,sha256=TKlXvH18FYQzuLvlHcBQWAheBLljVPIurU2lY6v87t8,16050
|
|
22
22
|
elody/policies/authentication/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
23
|
elody/policies/authentication/base_user_tenant_validation_policy.py,sha256=p7draxPCqly1vy7vnJX-gpmRfDeyaTxt9Cf0YpH9PZI,5829
|
|
24
24
|
elody/policies/authentication/multi_tenant_policy.py,sha256=g4ZYUQMmCjgLg09wj0-0lGKsJsRt7h4ppI25o1VdZHw,4039
|
|
@@ -36,13 +36,13 @@ elody/policies/authorization/mediafile_derivatives_policy.py,sha256=OwNpbS8i7-Lz
|
|
|
36
36
|
elody/policies/authorization/mediafile_download_policy.py,sha256=XMsKavBucmTh4W1kWOzpFWxJ_ZXgHVK1RS7JB4HjtQo,1979
|
|
37
37
|
elody/policies/authorization/multi_tenant_policy.py,sha256=SA9H7SBjzuh8mY3gYN7pDG8TV7hdI3GEUtNeiZeNL3M,3164
|
|
38
38
|
elody/policies/authorization/tenant_request_policy.py,sha256=dEgblwRAqwWVcE-O7Jn8hVL3OnwDlQhDEOcPlcElBrk,1185
|
|
39
|
-
elody-0.0.
|
|
39
|
+
elody-0.0.232.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
|
40
40
|
tests/__init_.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
41
41
|
tests/data.py,sha256=Q3oxduf-E3m-Z5G_p3fcs8jVy6g10I7zXKL1m94UVMI,2906
|
|
42
42
|
tests/unit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
43
|
tests/unit/test_csv.py,sha256=NQaOhehfQ4GuXku0Y1SA8DYjJeqqidbF50zEHAi8RZA,15923
|
|
44
44
|
tests/unit/test_utils.py,sha256=g63szcEZyHhCOtrW4BnNbcgVca3oYPIOLjBdIzNwwN0,8784
|
|
45
|
-
elody-0.0.
|
|
46
|
-
elody-0.0.
|
|
47
|
-
elody-0.0.
|
|
48
|
-
elody-0.0.
|
|
45
|
+
elody-0.0.232.dist-info/METADATA,sha256=AoFWymAtWtrzKOKrUxPWNq9To9Vz-s6M7fmDSXymlVU,23358
|
|
46
|
+
elody-0.0.232.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
47
|
+
elody-0.0.232.dist-info/top_level.txt,sha256=E0mImupLj0KmtUUCXRYEoLDRaSkuiGaOIIseAa0oQ-M,21
|
|
48
|
+
elody-0.0.232.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|