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

1792 superuser can search all #75

Closed fenekku closed 1 year ago

fenekku commented 2 years ago
fenekku commented 2 years ago

Dropping that in the back office project board given @ntarocco is saying you are having a hard time tracking open pull requests https://discord.com/channels/692989811736182844/704625518552547329/1009003421023617074

sharpattack commented 1 year ago

Hi, can I get a status update on this PR? Our librarians (admins) can't effectively review restricted records without it.

ntarocco commented 1 year ago

@fenekku is this needed for RDM v9? Could you please rebase it?

fenekku commented 1 year ago

Rebase done.

Yes we want it for v9 too.

ntarocco commented 1 year ago

@fenekku can you please review my last commit in this PR? Then we can merge and cherry-pick to backport.

ntarocco commented 1 year ago

@fenekku I am merging this so we can continue with OpenSearch v2 and I am preparing the new commit to backport. Feel free to add any comment, we can add an extra commit later, or contact me directly.

fenekku commented 1 year ago

For this PR per se:

For the rest, I will contact you directly.

ntarocco commented 1 year ago

Thank you for your feedback:

  1. I will remove it for the docstring, not a big deal.
  2. it has been done on purpose. There is a lot of confusion on roles and actions. The role has an extra s to highlight that is different from the action or anything. A role called superusers makes much more sense.