fix(allowlist): 唤醒名单可查看、可取消或恢复唤醒权限,换主人时清空
This commit is contained in:
23 files changed
+1190
-32
No files matched your search
@@ -0,0 +1,6 @@
|
||||
-- An owner can take a player's right to wake the server away (PUT
|
||||
-- /servers/{name}/allowlist/{uuid}). The row stays with revoked_at set instead of
|
||||
-- being deleted, because a deleted row comes straight back on the player's next
|
||||
-- join (RecordJoin appends ON CONFLICT DO NOTHING) and the owner's choice would
|
||||
-- last only until then. Both wake gates read revoked_at IS NULL.
|
||||
ALTER TABLE server_allowlist ADD COLUMN revoked_at timestamptz;
|
||||
Reference in new issue
Block a user