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

fix: auth precedence #325

Merged
merged 1 commit into from
Dec 21, 2023
Merged

fix: auth precedence #325

merged 1 commit into from
Dec 21, 2023

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Dec 21, 2023

The more specific a path is, the higher its priority.

Let me take user:pass@/dir1:rw,/dir1/test.txt as an example:
/dir1/test.txt will be readonly, as /dir1/test.txt is more specific than /dir1:rw.

@sigoden sigoden changed the title feat: auth precedence fix: auth precedence Dec 21, 2023
@sigoden sigoden merged commit 77f86a4 into main Dec 21, 2023
3 checks passed
@sigoden sigoden deleted the feat-auth branch December 21, 2023 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant