diff --git a/CHANGELOG.md b/CHANGELOG.md index 0aaf7e9..3dedad9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ - Updated the minimum Docker API used to support the latest Docker versions (via [#370](https://github.com/tale/headplane/pull/370)). - Enhanced the node tag dialog to show a dropdown of assignable tags (via [#362](https://github.com/tale/headplane/pull/362)). - Fixed an issue where the website favicon would not load correctly (closes [#323](https://github.com/tale/headplane/issues/323)). +- Correctly handle invalid ACL policy inserts on Headscale 0.27+ (closes [#383](https://github.com/tale/headplane/issues/383)). +- Prevent a machine from changing its owner to itself (closes [#373](https://github.com/tale/headplane/issues/373)). --- # 0.6.1 (October 12, 2025) diff --git a/app/components/error-banner.tsx b/app/components/error-banner.tsx index 4a519ab..4b8130f 100644 --- a/app/components/error-banner.tsx +++ b/app/components/error-banner.tsx @@ -135,7 +135,7 @@ export function getErrorMessage(error: Error | unknown): {
Status Code: {error.status}
- Status Text: {error.statusText} + Status Text: {error.data} ), }; diff --git a/app/routes/machines/dialogs/move.tsx b/app/routes/machines/dialogs/move.tsx index ae9792b..3585013 100644 --- a/app/routes/machines/dialogs/move.tsx +++ b/app/routes/machines/dialogs/move.tsx @@ -11,11 +11,11 @@ interface MoveProps { } export default function Move({ machine, users, isOpen, setIsOpen }: MoveProps) { - const [userId, setUserId] = useState(null); + const [userId, setUserId] = useState(machine.user.id); return ( - + Change the owner of {machine.givenName} The owner of the machine is the user associated with it.