As a summer project, work will start on checking each endpoint one by one, updating all the relevant documentation, tests and fixing any bugs that may be found. This should be easier than just looking at the current state, documenting it in one giant table, and then making many changes repetitively—the table might end up out of date, or we might just find even more issues when working on the fixes.
Does the endpoint use the proper permission classes?
Does the endpoint check for access rights on the relevant objects (corpora, repositories, workers, …) using the ACL mixins?
Does the endpoint check for the correct access levels on the relevant objects (corpora, repositories, workers, …)?
Does the endpoint check for the relevant feature flags?
Are the correct permission classes documented in OpenAPI?
ReDoc should display a Authorizations: field with the possible authentication methods, but those do not mention if the endpoint requires a verified email or is restricted to admins or Ponos tasks
Are the correct required access rights documented in OpenAPI?
If the endpoint itself, the OpenAPI documentation or the unit tests need to be updated, open a merge request to make all the relevant updates on the endpoint, and document the applied changes in the merge request's description; for example Updated OpenAPI docs and added check for internal users. If doc.arkindex.org needs to be updated, open a merge request on https://gitlab.com/teklia/arkindex/doc. Merge requests on arkindex/doc will not be merged before the next Arkindex release.
If the necessary access rights are confusing or cannot be determined using the current documentation, ask before implementing anything, to require a proper discussion on which access rights should apply on this endpoint.