fix(panel): make the LuckPerms page honest about what the server said (#59)

Live with real LuckPerms 5.5.85: every lp command returns an empty RCON body
(list/plugins answer normally; a standalone RCON client sees the same, and
creategroup/permission-set still persist), so the read projection can never
populate and the page asserted "no parent groups / no explicit nodes" for a
state it could not actually read. The raw reply now rides the same disclosure
the rosters carry, a silent entry-less reply shows an explicit notice instead
of the false empty claims, and the write history's placeholder no longer
dresses up a fabricated "[RCON] ..." line as output.
This commit is contained in:
Lemon-miaow committed 2026-09-23 22:43:29 +08:00
1 parent 4d4cdd6ea7
commit a2ff2a1102
4 files changed
+46 -5

No files matched your search

+1
View File
@@ -245,6 +245,7 @@ export const api = {
player: string;
groups: string[];
permissions: { node: string; value: boolean; world?: string }[];
output: string;
}>("GET", `/servers/${name}/access/luckperms/${player}`),
accessPermission: (