mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-05 13:09:25 +09:00
db, state: keep the ephemeral flag a node was created with
The flag moves from the key to the node, so a login with another key no longer changes it. A user claiming a tagged node still clears it. v1 nodes carry the flag.
This commit is contained in:
1 parent
e747f01b49
commit
5ddc442ec3
22 files changed
+183
-57
No files matched your search
@@ -6,6 +6,7 @@
|
||||
"availableRoutes": [],
|
||||
"createdAt": "\u003ctimestamp\u003e",
|
||||
"discoKey": "\u003csecret\u003e",
|
||||
"ephemeral": false,
|
||||
"expiry": null,
|
||||
"givenName": "regnode",
|
||||
"id": "1",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
"availableRoutes": [],
|
||||
"createdAt": "\u003ctimestamp\u003e",
|
||||
"discoKey": "\u003csecret\u003e",
|
||||
"ephemeral": false,
|
||||
"expiry": null,
|
||||
"givenName": "node-a",
|
||||
"id": "1",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
"availableRoutes": [],
|
||||
"createdAt": "\u003ctimestamp\u003e",
|
||||
"discoKey": "\u003csecret\u003e",
|
||||
"ephemeral": false,
|
||||
"expiry": null,
|
||||
"givenName": "node-b",
|
||||
"id": "1",
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"availableRoutes": [],
|
||||
"createdAt": "\u003ctimestamp\u003e",
|
||||
"discoKey": "\u003csecret\u003e",
|
||||
"ephemeral": false,
|
||||
"expiry": null,
|
||||
"givenName": "node-a",
|
||||
"id": "1",
|
||||
@@ -55,6 +56,7 @@
|
||||
"availableRoutes": [],
|
||||
"createdAt": "\u003ctimestamp\u003e",
|
||||
"discoKey": "\u003csecret\u003e",
|
||||
"ephemeral": false,
|
||||
"expiry": null,
|
||||
"givenName": "node-b",
|
||||
"id": "2",
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"availableRoutes": [],
|
||||
"createdAt": "\u003ctimestamp\u003e",
|
||||
"discoKey": "\u003csecret\u003e",
|
||||
"ephemeral": false,
|
||||
"expiry": null,
|
||||
"givenName": "node-a",
|
||||
"id": "1",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
"availableRoutes": [],
|
||||
"createdAt": "\u003ctimestamp\u003e",
|
||||
"discoKey": "\u003csecret\u003e",
|
||||
"ephemeral": false,
|
||||
"expiry": null,
|
||||
"givenName": "registered-node",
|
||||
"id": "1",
|
||||
|
||||
Reference in new issue
Block a user