feat: add ability to review and revoke clients

This commit is contained in:
DecDuck
2025-04-05 17:42:32 +11:00
parent 7263ec53ac
commit 2cbee3d495
14 changed files with 248 additions and 54 deletions

View File

@ -31,6 +31,9 @@ export const userACLDescriptions: ObjectFromList<typeof userACLs> = {
"library:add": "Add a game to your library.",
"library:remove": "Remove a game from your library.",
"clients:read": "Read the clients connected to this account",
"clients:revoke": "",
"news:read": "Read the server's news articles.",
};

View File

@ -26,6 +26,9 @@ export const userACLs = [
"library:add",
"library:remove",
"clients:read",
"clients:revoke",
"news:read",
] as const;
const userACLPrefix = "user:";