Skip to content

Commit b602473

Browse files
authored
Merge pull request pterodactyl#2657 from AreYouRlyScared/permissions
Add missing descriptions for permissions
2 parents ce42543 + 802f88f commit b602473

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/Models/Permission.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,18 +193,18 @@ class Permission extends Model
193193
'schedule' => [
194194
'description' => 'Permissions that control a user\'s access to the schedule management for this server.',
195195
'keys' => [
196-
'create' => '', // task.create-schedule
197-
'read' => '', // task.view-schedule, task.list-schedules
198-
'update' => '', // task.edit-schedule, task.queue-schedule, task.toggle-schedule
199-
'delete' => '', // task.delete-schedule
196+
'create' => 'Allows a user to create new schedules for this server.', // task.create-schedule
197+
'read' => 'Allows a user to view schedules and the tasks associated with them for this server.', // task.view-schedule, task.list-schedules
198+
'update' => 'Allows a user to update schedules and schedule tasks for this server.', // task.edit-schedule, task.queue-schedule, task.toggle-schedule
199+
'delete' => 'Allows a user to delete schedules for this server.', // task.delete-schedule
200200
],
201201
],
202202

203203
'settings' => [
204204
'description' => 'Permissions that control a user\'s access to the settings for this server.',
205205
'keys' => [
206-
'rename' => '',
207-
'reinstall' => '',
206+
'rename' => 'Allows a user to rename this server.',
207+
'reinstall' => 'Allows a user to trigger a reinstall of this server.',
208208
],
209209
],
210210
];

0 commit comments

Comments
 (0)