Let an administrator set a server's hostname by hand
A Change link on the Identity card sets the hostname (a host name or an address, written lower case without the trailing dot). It is then kept even when the agent reports another — marked "set by hand", with what the agent reports shown beside it — until "Use what the agent reports" gives it up. The agent's own hostname is always remembered (reported_hostname). PUT and DELETE /api/servers/:id/hostname, administrators only, audited with from and to. Migration 0082 adds hostname_pinned and reported_hostname and fills the latter for servers that have reported. It changes this app's name for the server, not the machine's. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6f144b4e36
commit
672c7f2f66
14 files changed
+9020
-7
No files matched your search
@@ -110,7 +110,7 @@ even further, to admin only:
|
||||
records, etc.), but adding, editing, testing, or deleting an
|
||||
integration or DNS provider is admin-only. So is **making, editing or deleting a zone** on a DNS provider that can (Technitium): making one makes the server an authority for a name, deleting one takes every record in it, and editing one switches it off or changes who may ask or copy it, so none is an operator's job like adding a record.
|
||||
- **Servers**: registering a new server, rotating its agent token, and
|
||||
editing/deleting a server are admin-only; tagging a server and
|
||||
editing/deleting a server (including setting its hostname by hand, and giving that up) are admin-only; tagging a server and
|
||||
linking/unlinking it to a Proxmox guest just need operator.
|
||||
- **Tags**: creating, renaming, recoloring, or deleting a tag is
|
||||
admin-only (applying an existing tag to a server needs operator).
|
||||
|
||||
Reference in new issue
Block a user