Skip to content

Commit

Permalink
feat: Added modrinth permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
olwalkey committed Dec 28, 2024
1 parent 586dd54 commit 151a8d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/Models/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ class Permission extends Model
'description' => 'Permissions that control a user\'s access to the settings for this server.',
'keys' => [
'rename' => 'Allows a user to rename this server and change the description of it.',
'modrinth' => 'Allows a user to change what loader/version of mods to download',
'reinstall' => 'Allows a user to trigger a reinstall of this server.',

],
Expand All @@ -214,10 +213,13 @@ class Permission extends Model
'read' => 'Allows a user to view the activity logs for the server.',
],
],

'modrinth' => [
'description' => 'Permissions that control a user\'s access to downloading mods using in app modrinth',
'keys' => [
'download' => 'Allows a user to download mods to the server using modrinth',
'version' => 'Allows a user to change what version to download for',
'loader' => 'Allows a user to change what loader to download for',
'download' => 'Allows a user to download mods to the server using modrinth',
],
],
];
Expand Down

0 comments on commit 151a8d2

Please sign in to comment.