mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #352] [MERGED] feat: revert supporting for forbidden permission #577
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/352
Author: @sigoden
Created: 1/17/2024
Status: ✅ Merged
Merged: 1/17/2024
Merged by: @sigoden
Base:
main← Head:feat-revert-forbid📝 Commits (1)
efab84bfeat: revert support for forbidden permission📊 Changes
4 files changed (+14 additions, -42 deletions)
View changed files
📝
README.md(+3 -3)📝
src/auth.rs(+9 -20)📝
src/server.rs(+2 -2)📝
tests/auth.rs(+0 -17)📄 Description
#329 supports forbidden permission, but this pr reverts it.
why revert? becase many operations are anti-pattern and difficult to process. Take
/dir1:rw,/dir1/dir2:rwas an example./dir1, should/dir1/dir2be deleted?/dir1, should/dir1/dir2be moved?/dir1, do you need to include/dir1/dir2?/dir1, the constraints of/dir1/dir2fail. What should I do?🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.