mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #619] [MERGED] fix: perms on dufs -A -a @/:ro
#659
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/619
Author: @sigoden
Created: 8/19/2025
Status: ✅ Merged
Merged: 8/19/2025
Merged by: @sigoden
Base:
main← Head:fix📝 Commits (1)
8ca6067fix: perms ondufs -A -a @/:ro📊 Changes
3 files changed (+26 additions, -5 deletions)
View changed files
📝
src/auth.rs(+6 -3)📝
src/server.rs(+2 -2)📝
tests/auth.rs(+18 -0)📄 Description
This bug let annoymous user has read-write permissions.
To trigger this bug, the following conditions must be met:
-Aor--allow-upload/--allow-deleteparameter must be present.-a @/:rois set to specify anonymous readonly permission, without any users provided.The bug was introduced by #497.
Relate to #617.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.