mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #437] [MERGED] fix: login successed but popup Forbidden
#613
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/437
Author: @sigoden
Created: 8/22/2024
Status: ✅ Merged
Merged: 8/22/2024
Merged by: @sigoden
Base:
main← Head:fix📝 Commits (1)
54a5d2bfix: log successed but popupForbidden📊 Changes
4 files changed (+14 additions, -10 deletions)
View changed files
📝
assets/index.js(+1 -1)📝
src/auth.rs(+1 -0)📝
src/server.rs(+4 -1)📝
tests/auth.rs(+8 -8)📄 Description
Previously, we use
WRITEABLE <path>for auth, which requires the user to have read-write permissions. This results in a "Forbidden" popup if the user lacks read-write permissions for the specified path.In this PR, we use
AUTH <pathfor auth, which doesn't require the user to have read-write permissions.close #436
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.