oarepo-runtime 1.5.76__py3-none-any.whl → 1.5.77__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.
@@ -31,6 +31,7 @@ class OaiHarvesterPermissionPolicy(RecordPermissionPolicy):
31
31
  can_update_draft = [SystemProcess()]
32
32
  can_delete_draft = [SystemProcess()]
33
33
  can_publish = [SystemProcess()]
34
+ can_search_versions = [SystemProcess()]
34
35
  can_draft_create_files = [SystemProcess()]
35
36
  can_draft_set_content_files = [SystemProcess()]
36
37
  can_draft_get_content_files = [SystemProcess()]
@@ -39,6 +40,7 @@ class OaiHarvesterPermissionPolicy(RecordPermissionPolicy):
39
40
  can_draft_update_files = [SystemProcess()]
40
41
 
41
42
 
43
+
42
44
  class ReadOnlyPermissionPolicy(RecordPermissionPolicy):
43
45
  """record policy for read only repository"""
44
46
 
@@ -65,6 +67,7 @@ class ReadOnlyPermissionPolicy(RecordPermissionPolicy):
65
67
  can_update_draft = [SystemProcess()]
66
68
  can_delete_draft = [SystemProcess()]
67
69
  can_publish = [SystemProcess()]
70
+ can_search_versions = [SystemProcess()]
68
71
  can_draft_create_files = [SystemProcess()]
69
72
  can_draft_set_content_files = [SystemProcess()]
70
73
  can_draft_get_content_files = [SystemProcess()]
@@ -99,6 +102,7 @@ class EveryonePermissionPolicy(RecordPermissionPolicy):
99
102
  can_new_version = [SystemProcess(), AnyUser()]
100
103
  can_search_drafts = [SystemProcess(), AnyUser()]
101
104
  can_read_draft = [SystemProcess(), AnyUser()]
105
+ can_search_versions = [SystemProcess(), AnyUser()]
102
106
  can_update_draft = [SystemProcess(), AnyUser()]
103
107
  can_delete_draft = [SystemProcess(), AnyUser()]
104
108
  can_publish = [SystemProcess(), AnyUser()]
@@ -139,6 +143,7 @@ class AuthenticatedPermissionPolicy(RecordPermissionPolicy):
139
143
  can_update_draft = [SystemProcess(), AuthenticatedUser()]
140
144
  can_delete_draft = [SystemProcess(), AuthenticatedUser()]
141
145
  can_publish = [SystemProcess(), AuthenticatedUser()]
146
+ can_search_versions = [SystemProcess(), AuthenticatedUser()]
142
147
  can_draft_create_files = [SystemProcess(), AuthenticatedUser()]
143
148
  can_draft_set_content_files = [SystemProcess(), AuthenticatedUser()]
144
149
  can_draft_get_content_files = [SystemProcess(), AuthenticatedUser()]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: oarepo-runtime
3
- Version: 1.5.76
3
+ Version: 1.5.77
4
4
  Summary: A set of runtime extensions of Invenio repository
5
5
  Description-Content-Type: text/markdown
6
6
  License-File: LICENSE
@@ -77,7 +77,7 @@ oarepo_runtime/services/results.py,sha256=Ap2mUJHl3V4BSduTrBWPuco0inQVq0QsuCbVhe
77
77
  oarepo_runtime/services/search.py,sha256=9xGTN5Yg6eTdptQ9qjO_umbacf9ooMuHYGXWYfla4-M,6227
78
78
  oarepo_runtime/services/config/__init__.py,sha256=EOpmlw0rjAUGmErTRcLOOBADeXKJKdsk62lAgFbRKQ8,731
79
79
  oarepo_runtime/services/config/link_conditions.py,sha256=xCusAqc7zqh0EGu2f6CF84ImyYHvzEKIOmLQYpyewzE,3113
80
- oarepo_runtime/services/config/permissions_presets.py,sha256=yUyzynM4xgM6ydSbwWBa35fL0y-2WHZKAn0zi9vTfC8,6263
80
+ oarepo_runtime/services/config/permissions_presets.py,sha256=V0dMrikzTzTiM2NRtdGgTML7AtXlrlYZ_vm3btzbJd4,6472
81
81
  oarepo_runtime/services/config/service.py,sha256=s-dVbGkLICpsce6jgu7b5kzYFz9opWjSQFDBgbIhKio,4002
82
82
  oarepo_runtime/services/custom_fields/__init__.py,sha256=_gqMcA_I3rdEZcBtCuDjO4wdVCqFML5NzaccuPx5a3o,2565
83
83
  oarepo_runtime/services/custom_fields/mappings.py,sha256=tg9CAdxGOkd_n6RB5Z2_wSwo_A0wqEey8RMcZ79AHo0,6906
@@ -133,9 +133,9 @@ tests/marshmallow_to_json/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
133
133
  tests/marshmallow_to_json/test_datacite_ui_schema.py,sha256=82iLj8nW45lZOUewpWbLX3mpSkpa9lxo-vK-Qtv_1bU,48552
134
134
  tests/marshmallow_to_json/test_simple_schema.py,sha256=izZN9p0v6kovtSZ6AdxBYmK_c6ZOti2_z_wPT_zXIr0,1500
135
135
  tests/pkg_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
136
- oarepo_runtime-1.5.76.dist-info/LICENSE,sha256=h2uWz0OaB3EN-J1ImdGJZzc7yvfQjvHVYdUhQ-H7ypY,1064
137
- oarepo_runtime-1.5.76.dist-info/METADATA,sha256=fYKfxR5RxKYsSOHJ0NmubeZmnHSqJtWMDE88ysa2mQk,4720
138
- oarepo_runtime-1.5.76.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
139
- oarepo_runtime-1.5.76.dist-info/entry_points.txt,sha256=k7O5LZUOGsVeSpB7ulU0txBUNp1CVQG7Q7TJIVTPbzU,491
140
- oarepo_runtime-1.5.76.dist-info/top_level.txt,sha256=bHhlkT1_RQC4IkfTQCqA3iN4KCB6cSFQlsXpQMSP-bE,21
141
- oarepo_runtime-1.5.76.dist-info/RECORD,,
136
+ oarepo_runtime-1.5.77.dist-info/LICENSE,sha256=h2uWz0OaB3EN-J1ImdGJZzc7yvfQjvHVYdUhQ-H7ypY,1064
137
+ oarepo_runtime-1.5.77.dist-info/METADATA,sha256=zTSdUbRgidqR57Pu8hNATAZPLbTdJ4Qr0UABAVaAtZc,4720
138
+ oarepo_runtime-1.5.77.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
139
+ oarepo_runtime-1.5.77.dist-info/entry_points.txt,sha256=k7O5LZUOGsVeSpB7ulU0txBUNp1CVQG7Q7TJIVTPbzU,491
140
+ oarepo_runtime-1.5.77.dist-info/top_level.txt,sha256=bHhlkT1_RQC4IkfTQCqA3iN4KCB6cSFQlsXpQMSP-bE,21
141
+ oarepo_runtime-1.5.77.dist-info/RECORD,,