Merge branch 'AdenMGB-develop' into develop

This commit is contained in:
DecDuck
2025-03-10 11:41:40 +11:00
26 changed files with 1526 additions and 4 deletions

View File

@ -30,6 +30,8 @@ export const userACLDescriptions: ObjectFromList<typeof userACLs> = {
"Remove a game from any collection (excluding library).",
"library:add": "Add a game to your library.",
"library:remove": "Remove a game from your library.",
"news:read": "Read the server's news articles.",
};
export const systemACLDescriptions: ObjectFromList<typeof systemACLs> = {
@ -55,4 +57,8 @@ export const systemACLDescriptions: ObjectFromList<typeof systemACLs> = {
"import:game:new": "Import a game.",
"user:read": "Fetch any user's information.",
"news:read": "Read news articles.",
"news:create": "Create a new news article.",
"news:delete": "Delete a news article."
};

View File

@ -25,6 +25,11 @@ export const userACLs = [
"collections:remove",
"library:add",
"library:remove",
<<<<<<< HEAD
=======
"news:read",
>>>>>>> AdenMGB-develop
] as const;
const userACLPrefix = "user:";
@ -51,6 +56,13 @@ export const systemACLs = [
"import:game:new",
"user:read",
<<<<<<< HEAD
=======
"news:read",
"news:create",
"news:delete",
>>>>>>> AdenMGB-develop
] as const;
const systemACLPrefix = "system:";