mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-12 07:42:40 +10:00
feat: add ability to review and revoke clients
This commit is contained in:
@ -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.",
|
||||
};
|
||||
|
||||
|
||||
@ -26,6 +26,9 @@ export const userACLs = [
|
||||
"library:add",
|
||||
"library:remove",
|
||||
|
||||
"clients:read",
|
||||
"clients:revoke",
|
||||
|
||||
"news:read",
|
||||
] as const;
|
||||
const userACLPrefix = "user:";
|
||||
|
||||
Reference in New Issue
Block a user