inveniosoftware / invenio-records-permissions

Permissions for Invenio's records REST API.
https://invenio-records-permissions.readthedocs.io
MIT License
0 stars 25 forks source link

permission: superuser can search anything #81

Closed ntarocco closed 2 years ago

ntarocco commented 2 years ago

@fenekku This is needed for InvenioRDM v9, LTS. Are you ok with the changes?

ntarocco commented 2 years ago

IIUC we are not backporting opensearch to 9.x in this PR, right? (Asking because if we do want to support opensearch in this PR, then we should add it to the search-service and adjust https://github.com/inveniosoftware/invenio-records-permissions/pull/81/files#diff-ff296616e161972069eacb9c47da9701cf9d4aa6a4b75a7572c3a5a12018edb7R14 to use dsl.Q())

OpenSearch v1 support in InvenioRDM v9 will be addressed later on, not in this PR.