[PR #437] [MERGED] fix: login successed but popup Forbidden #613

Closed
opened 2026-04-08 16:53:40 +03:00 by zhus · 0 comments
Owner

📋 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: mainHead: fix


📝 Commits (1)

  • 54a5d2b fix: log successed but popup Forbidden

📊 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 <path for 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.

## 📋 Pull Request Information **Original PR:** https://github.com/sigoden/dufs/pull/437 **Author:** [@sigoden](https://github.com/sigoden) **Created:** 8/22/2024 **Status:** ✅ Merged **Merged:** 8/22/2024 **Merged by:** [@sigoden](https://github.com/sigoden) **Base:** `main` ← **Head:** `fix` --- ### 📝 Commits (1) - [`54a5d2b`](https://github.com/sigoden/dufs/commit/54a5d2ba799217cf432a5f96948158da7fbe49c3) fix: log successed but popup `Forbidden` ### 📊 Changes **4 files changed** (+14 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `assets/index.js` (+1 -1) 📝 `src/auth.rs` (+1 -0) 📝 `src/server.rs` (+4 -1) 📝 `tests/auth.rs` (+8 -8) </details> ### 📄 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 <path` for auth, which doesn't require the user to have read-write permissions. close #436 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-04-08 16:53:40 +03:00
zhus closed this issue 2026-04-08 16:53:40 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#613