Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the api key of the metrics #3538

Merged
merged 3 commits into from
Feb 27, 2023
Merged

Conversation

irevoire
Copy link
Member

Related to #3524 (comment)
Update: #3523

Right after merging the PR, we changed our minds and decided to update the way we handle the API keys on the metrics route.
Now instead of bypassing all the applied rules of the API key, we forbid the usage of the /metrics route if you have any restrictions on the indexes.

@irevoire irevoire added the experimental feature Related to an experimental feature label Feb 23, 2023
@irevoire irevoire added this to the v1.1.0 milestone Feb 23, 2023
@irevoire irevoire requested a review from dureuill February 23, 2023 16:33
@github-actions
Copy link

github-actions bot commented Feb 23, 2023

Uffizzi Preview deployment-17240 was deleted.

dureuill
dureuill previously approved these changes Feb 27, 2023
Copy link
Contributor

@dureuill dureuill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested a different formulation for hint (avoid "must have not")

meilisearch/src/routes/metrics.rs Outdated Show resolved Hide resolved
meilisearch/tests/auth/authorization.rs Outdated Show resolved Hide resolved
@dureuill dureuill force-pushed the improve-the-api-key-of-the-metrics branch from 0bffad3 to d4d4702 Compare February 27, 2023 12:46
@dureuill
Copy link
Contributor

bors merge

@bors
Copy link
Contributor

bors bot commented Feb 27, 2023

@bors bors bot merged commit 6ca7a10 into main Feb 27, 2023
@bors bors bot deleted the improve-the-api-key-of-the-metrics branch February 27, 2023 14:31
@meili-bot meili-bot added the v1.1.0 PRs/issues solved in v1.1.0 released on 2023-04-03 label Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental feature Related to an experimental feature v1.1.0 PRs/issues solved in v1.1.0 released on 2023-04-03
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants