[PR #1413] [MERGED] prevent changing a provisioned user's password #1598

Closed
opened 2026-05-07 01:02:50 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/1413
Author: @wunter8
Created: 8/3/2025
Status: Merged
Merged: 8/5/2025
Merged by: @binwiederhier

Base: mainHead: change-password-provisioned-user


📝 Commits (6)

  • 8146361 prevent changing a provisioned user's password
  • c4c4916 Do not allow changing tokens, user role, or delete users
  • bcfb50b Disallow changing provisioned user and tokens
  • cef228f Derp
  • d35dfc1 Bump release notes and such
  • 4225ce2 Release notes

📊 Changes

15 files changed (+229 additions, -112 deletions)

View changed files

📝 cmd/user_test.go (+8 -0)
📝 docs/install.md (+30 -30)
📝 docs/releases.md (+16 -8)
📝 go.mod (+6 -6)
📝 go.sum (+12 -12)
📝 server/errors.go (+2 -0)
📝 server/server_account.go (+22 -5)
📝 server/server_account_test.go (+11 -1)
📝 server/types.go (+7 -5)
📝 user/manager.go (+40 -8)
📝 user/manager_test.go (+3 -0)
📝 user/types.go (+13 -11)
📝 web/package-lock.json (+15 -16)
📝 web/public/static/langs/en.json (+2 -0)
📝 web/src/components/Account.jsx (+42 -10)

📄 Description

No description provided


🔄 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/binwiederhier/ntfy/pull/1413 **Author:** [@wunter8](https://github.com/wunter8) **Created:** 8/3/2025 **Status:** ✅ Merged **Merged:** 8/5/2025 **Merged by:** [@binwiederhier](https://github.com/binwiederhier) **Base:** `main` ← **Head:** `change-password-provisioned-user` --- ### 📝 Commits (6) - [`8146361`](https://github.com/binwiederhier/ntfy/commit/81463614c9236bb795b55163c8a6203e6b228f4f) prevent changing a provisioned user's password - [`c4c4916`](https://github.com/binwiederhier/ntfy/commit/c4c4916bc845ed3ec69c23fb89b61e74e147b3b4) Do not allow changing tokens, user role, or delete users - [`bcfb50b`](https://github.com/binwiederhier/ntfy/commit/bcfb50b35ae4cfee8f07b7aa72c009cecc3cf94b) Disallow changing provisioned user and tokens - [`cef228f`](https://github.com/binwiederhier/ntfy/commit/cef228f880f3762a623661e83640221612f7934b) Derp - [`d35dfc1`](https://github.com/binwiederhier/ntfy/commit/d35dfc14d12cf42014806500bb8e721b63194679) Bump release notes and such - [`4225ce2`](https://github.com/binwiederhier/ntfy/commit/4225ce2f426c72d3a02f1f9d431de87c7f5e2c54) Release notes ### 📊 Changes **15 files changed** (+229 additions, -112 deletions) <details> <summary>View changed files</summary> 📝 `cmd/user_test.go` (+8 -0) 📝 `docs/install.md` (+30 -30) 📝 `docs/releases.md` (+16 -8) 📝 `go.mod` (+6 -6) 📝 `go.sum` (+12 -12) 📝 `server/errors.go` (+2 -0) 📝 `server/server_account.go` (+22 -5) 📝 `server/server_account_test.go` (+11 -1) 📝 `server/types.go` (+7 -5) 📝 `user/manager.go` (+40 -8) 📝 `user/manager_test.go` (+3 -0) 📝 `user/types.go` (+13 -11) 📝 `web/package-lock.json` (+15 -16) 📝 `web/public/static/langs/en.json` (+2 -0) 📝 `web/src/components/Account.jsx` (+42 -10) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:02:50 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#1598
No description provided.