oarepo-runtime 1.5.123__py3-none-any.whl → 1.5.124__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.

Potentially problematic release.


This version of oarepo-runtime might be problematic. Click here for more details.

@@ -39,7 +39,7 @@ class OaiHarvesterPermissionPolicy(RecordPermissionPolicy):
39
39
  can_draft_commit_files = [SystemProcess()]
40
40
  can_draft_read_files = [SystemProcess()]
41
41
  can_draft_update_files = [SystemProcess()]
42
-
42
+ can_draft_delete_files = [SystemProcess()]
43
43
 
44
44
 
45
45
  class ReadOnlyPermissionPolicy(RecordPermissionPolicy):
@@ -76,6 +76,7 @@ class ReadOnlyPermissionPolicy(RecordPermissionPolicy):
76
76
  can_draft_commit_files = [SystemProcess()]
77
77
  can_draft_read_files = [SystemProcess()]
78
78
  can_draft_update_files = [SystemProcess()]
79
+ can_draft_delete_files = [SystemProcess()]
79
80
 
80
81
  can_add_community = [SystemProcess()]
81
82
  can_remove_community = [SystemProcess()]
@@ -85,7 +86,6 @@ class ReadOnlyPermissionPolicy(RecordPermissionPolicy):
85
86
  can_lift_embargo = [SystemProcess()]
86
87
 
87
88
 
88
-
89
89
  class EveryonePermissionPolicy(RecordPermissionPolicy):
90
90
  """record policy for read only repository"""
91
91
 
@@ -120,6 +120,7 @@ class EveryonePermissionPolicy(RecordPermissionPolicy):
120
120
  can_draft_commit_files = [SystemProcess(), AnyUser()]
121
121
  can_draft_read_files = [SystemProcess(), AnyUser()]
122
122
  can_draft_update_files = [SystemProcess(), AnyUser()]
123
+ can_draft_delete_files = [SystemProcess(), AnyUser()]
123
124
 
124
125
  can_add_community = [SystemProcess(), AnyUser()]
125
126
  can_remove_community = [SystemProcess(), AnyUser()]
@@ -148,6 +149,7 @@ class AuthenticatedPermissionPolicy(RecordPermissionPolicy):
148
149
  can_update_files = [SystemProcess(), AuthenticatedUser()]
149
150
  can_list_files = [SystemProcess(), AuthenticatedUser()]
150
151
  can_manage_files = [SystemProcess(), AuthenticatedUser()]
152
+ can_delete_files = [SystemProcess(), AuthenticatedUser()]
151
153
 
152
154
  can_edit = [SystemProcess(), AuthenticatedUser()]
153
155
  can_new_version = [SystemProcess(), AuthenticatedUser()]
@@ -163,10 +165,10 @@ class AuthenticatedPermissionPolicy(RecordPermissionPolicy):
163
165
  can_draft_commit_files = [SystemProcess(), AuthenticatedUser()]
164
166
  can_draft_read_files = [SystemProcess(), AuthenticatedUser()]
165
167
  can_draft_update_files = [SystemProcess(), AuthenticatedUser()]
168
+ can_draft_delete_files = [SystemProcess(), AuthenticatedUser()]
166
169
 
167
170
  can_add_community = [SystemProcess(), AuthenticatedUser()]
168
171
  can_remove_community = [SystemProcess(), AuthenticatedUser()]
169
172
 
170
- can_delete_files = [SystemProcess(), AuthenticatedUser()]
171
173
  can_manage_record_access = [SystemProcess(), AuthenticatedUser()]
172
174
  can_lift_embargo = [SystemProcess(), AuthenticatedUser()]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: oarepo-runtime
3
- Version: 1.5.123
3
+ Version: 1.5.124
4
4
  Summary: A set of runtime extensions of Invenio repository
5
5
  Description-Content-Type: text/markdown
6
6
  License-File: LICENSE
@@ -91,7 +91,7 @@ oarepo_runtime/services/search.py,sha256=t0WEe2VrbCzZ06-Jgz7C9-pc9y27BqAgTEXldEH
91
91
  oarepo_runtime/services/service.py,sha256=TI2ulEVlSR7HZnfPYltLl8Vf4O9fhJ7rHaV6G4HWbrc,1893
92
92
  oarepo_runtime/services/config/__init__.py,sha256=559w4vphVAipa420OwTsxGUP-b7idoqSIX13FSJyVz0,783
93
93
  oarepo_runtime/services/config/link_conditions.py,sha256=evPRd5XU76Ok4J-08bBfplbHZ019rl74FpJmO8iM5yg,3298
94
- oarepo_runtime/services/config/permissions_presets.py,sha256=jV3Ft7xFdBaeShoa3Q3Q-HHWP-wOX4XYDTRzWwUVL7g,7151
94
+ oarepo_runtime/services/config/permissions_presets.py,sha256=b1wm3JjL8KgkaH7VMkNfdMk5fXtf3X87rB7gkvaNxns,7369
95
95
  oarepo_runtime/services/config/service.py,sha256=s-dVbGkLICpsce6jgu7b5kzYFz9opWjSQFDBgbIhKio,4002
96
96
  oarepo_runtime/services/custom_fields/__init__.py,sha256=_gqMcA_I3rdEZcBtCuDjO4wdVCqFML5NzaccuPx5a3o,2565
97
97
  oarepo_runtime/services/custom_fields/mappings.py,sha256=3CIvjWzVRO3fZ2r-3taK1rwuLH9wj5Lguo-GvsbLBf4,7515
@@ -148,9 +148,9 @@ tests/marshmallow_to_json/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
148
148
  tests/marshmallow_to_json/test_datacite_ui_schema.py,sha256=82iLj8nW45lZOUewpWbLX3mpSkpa9lxo-vK-Qtv_1bU,48552
149
149
  tests/marshmallow_to_json/test_simple_schema.py,sha256=izZN9p0v6kovtSZ6AdxBYmK_c6ZOti2_z_wPT_zXIr0,1500
150
150
  tests/pkg_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
151
- oarepo_runtime-1.5.123.dist-info/LICENSE,sha256=h2uWz0OaB3EN-J1ImdGJZzc7yvfQjvHVYdUhQ-H7ypY,1064
152
- oarepo_runtime-1.5.123.dist-info/METADATA,sha256=Ok2PX70f0gD-GXzoQfwRbvppr-Vz6Ibpy6KJ5QrwU1w,4721
153
- oarepo_runtime-1.5.123.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
154
- oarepo_runtime-1.5.123.dist-info/entry_points.txt,sha256=k7O5LZUOGsVeSpB7ulU0txBUNp1CVQG7Q7TJIVTPbzU,491
155
- oarepo_runtime-1.5.123.dist-info/top_level.txt,sha256=bHhlkT1_RQC4IkfTQCqA3iN4KCB6cSFQlsXpQMSP-bE,21
156
- oarepo_runtime-1.5.123.dist-info/RECORD,,
151
+ oarepo_runtime-1.5.124.dist-info/LICENSE,sha256=h2uWz0OaB3EN-J1ImdGJZzc7yvfQjvHVYdUhQ-H7ypY,1064
152
+ oarepo_runtime-1.5.124.dist-info/METADATA,sha256=t1V9nLySEgmPYmIiMh3qOxk9VpxOOc-GNg12ei7YHTA,4721
153
+ oarepo_runtime-1.5.124.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
154
+ oarepo_runtime-1.5.124.dist-info/entry_points.txt,sha256=k7O5LZUOGsVeSpB7ulU0txBUNp1CVQG7Q7TJIVTPbzU,491
155
+ oarepo_runtime-1.5.124.dist-info/top_level.txt,sha256=bHhlkT1_RQC4IkfTQCqA3iN4KCB6cSFQlsXpQMSP-bE,21
156
+ oarepo_runtime-1.5.124.dist-info/RECORD,,