Set Age Restrictions on library with a slider (#468)

* Adding groups logic and restrictions

* Cleaning up some redundant code

* hastily made translations

* Linter issues

* More linting

* PR comments

* Covering other APIs with age filters per comment

* Add ages to age ratings

* Making the linter happy

---------

Co-authored-by: Robert Clabough <robert@clabough.tech>
This commit is contained in:
AgentScrubbles
2026-08-06 16:13:43 +10:00
committed by GitHub
co-authored by Robert Clabough
parent b6b28afc2e
commit 26abc584a9
10 changed files with 357 additions and 153 deletions
+6
View File
@@ -820,6 +820,8 @@
"groups": {
"addBannedRating": "Add banned rating",
"addMember": "Select a user...",
"advancedOverrides": "Advanced: Manual Overrides",
"applyAgeRestriction": "Apply age restriction",
"bannedRatings": "Banned Ratings",
"createGroup": "Create Group",
"deleteConfirm": "Are you sure you want to delete this group? This action cannot be undone.",
@@ -827,6 +829,9 @@
"description": "Manage user groups and age rating restrictions.",
"descriptionField": "Description",
"details": "Details",
"manualOverrideNote": "The current banned ratings do not match a standard age threshold. They may have been manually configured.",
"maximumContentAge": "Age Restriction",
"maximumContentAgeDescription": "Set the maximum content age allowed for members of this group. Ratings above this age will be banned.",
"members": "Members",
"name": "Name",
"noBannedRatings": "No banned ratings configured.",
@@ -834,6 +839,7 @@
"oidcManagedNote": "Group membership is managed by your OIDC provider. Members are automatically synced when users log in. To change group membership, update your identity provider's group assignments.",
"removeBannedRating": "Remove",
"removeMember": "Remove",
"sliderOverrideWarning": "Manually adding or removing ratings here will override the slider. Use the slider above to reset to a standard age threshold.",
"title": "User Groups",
"unratedNote": "Games without age ratings will also be hidden from users in this group."
},