v0.332.0: one sign-in for the file manager — a dashboard pass, a host-only files cookie, a per-box secret header (R-1100, operator D16)
gates / gates (push) Successful in 47s

This commit is contained in:
2026-10-19 04:56:56 +02:00
parent ba4a6f060b
commit 9bdd8f8fe8
21 changed files with 1078 additions and 54 deletions
+3
View File
@@ -193,6 +193,9 @@ func (s *Server) renderAppDataTab(w http.ResponseWriter, r *http.Request, found
if flashErr := s.flashFrom(r, "flash_error"); flashErr != "" {
data["FlashError"] = flashErr
}
// R-1100: with the one sign-in, the folder links open FileBrowser without its own login, so the „asks for its own
// password" note is said only on a box without it. Pinned by TestFilesSSO_R1100_DataTabLoginNote.
data["FilesSSO"] = s.filesHeader() != ""
data["Title"] = found.Meta.DisplayName
data["TitleKey"], data["TitleArgs"] = "page.title.app_data", []interface{}{found.Meta.DisplayName}
s.executeTemplate(w, r, "app_data", data)