mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #521] [MERGED] feat: higher perm auth path shadows lower one #632
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigoden/dufs/pull/521
Author: @sigoden
Created: 1/2/2025
Status: ✅ Merged
Merged: 1/2/2025
Merged by: @sigoden
Base:
main← Head:feat📝 Commits (1)
8d20e08feat: higher perm auth path shadows lower one📊 Changes
3 files changed (+67 additions, -33 deletions)
View changed files
📝
src/auth.rs(+61 -26)📝
src/server.rs(+2 -2)📝
tests/auth.rs(+4 -5)📄 Description
In
/:rw;/path1:ro, the/:rwhave higher perms, it shadow/path1:ro, so that/path1is granted read and write permissions.close #519
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.