mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #52] [MERGED] feat: path level access control #443
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/52
Author: @sigoden
Created: 6/19/2022
Status: ✅ Merged
Merged: 6/19/2022
Merged by: @sigoden
Base:
main← Head:feat-path-level-ac📝 Commits (4)
ac317b8feat: path level access control250db66chore: update readmeb67b64echore: update readmeb5692a3chore: update readme📊 Changes
7 files changed (+288 additions, -94 deletions)
View changed files
📝
README.md(+38 -11)📝
src/args.rs(+12 -17)📝
src/auth.rs(+149 -15)📝
src/main.rs(+1 -0)📝
src/server.rs(+27 -46)➕
src/utils.rs(+12 -0)📝
tests/auth.rs(+49 -5)📄 Description
Duf supports path level access control through option
--auth/-a.Grammar rule:
<path>: Path to protected<readwrite>: Account with readwrite permission<readonly>: Account with readonly permissionBREAKING CHANGE:
--authis changed,--no-auth-accessis removed🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.