Skip to content

Commit

Permalink
Remove prefilled API key from OpenRefine endpoints
Browse files Browse the repository at this point in the history
Required as we do not store plaintext API keys anymore. Also, we want to remove the option to pass API keys via URL parameters in the future.

This makes it impossible to use OpenRefine with non-public collections. This was never documented, and most users weren't aware that they can indeed use OpenRefine with non-public collections anyway.
  • Loading branch information
tillprochaska committed Aug 5, 2024
1 parent 15b52eb commit 5f94f9b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions aleph/views/reconcile_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ def reconcile_index(collection=None):
domain = SETTINGS.APP_UI_URL.strip("/")
label = SETTINGS.APP_TITLE
suggest_query = []
if request.authz.id:
suggest_query.append(("api_key", request.authz.role.api_key))
schemata = list(model)
if collection is not None:
label = "%s (%s)" % (collection.get("label"), label)
Expand Down

0 comments on commit 5f94f9b

Please sign in to comment.