resource: add permission check to names search #1504
Triggered via pull request
September 11, 2024 13:27
Status
Failure
Total duration
5m 51s
Artifacts
–
Annotations
4 errors
Python / Tests (3.9, postgresql14, opensearch2):
invenio_vocabularies/contrib/names/resources.py#L1
Black format check
--- /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/names/resources.py 2024-09-11 13:27:15.302517+00:00
+++ /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/names/resources.py 2024-09-11 13:31:24.418427+00:00
@@ -50,6 +50,5 @@
id_type=resource_requestctx.view_args["pid_type"],
identity=g.identity,
)
return item.to_dict(), 200
-
|
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
Python / Tests (3.12, postgresql14, opensearch2):
invenio_vocabularies/contrib/names/resources.py#L1
Black format check
--- /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/names/resources.py 2024-09-11 13:27:18.020828+00:00
+++ /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/names/resources.py 2024-09-11 13:32:15.527840+00:00
@@ -50,6 +50,5 @@
id_type=resource_requestctx.view_args["pid_type"],
identity=g.identity,
)
return item.to_dict(), 200
-
|
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
|