Skip to content

Commit ad9ed5e

Browse files
stanjgDaneEveritt
authored andcommitted
Fixed the permission (pterodactyl#1217)
1 parent 5f90d84 commit ad9ed5e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
1111
### Fixed
1212
* Hitting Ctrl+Z when editing a file on the web now works as expected.
1313
* Logo now links to the correct location on all pages.
14+
* Permissions checking to determine if a user can see the task management page now works correctly.
1415

1516
### Changed
1617
* Attempting to upload a folder via the web file manager will now display a warning telling the user to use SFTP.

resources/themes/pterodactyl/layouts/master.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class="active"
146146
</a>
147147
</li>
148148
@endcan
149-
@can('list-tasks', $server)
149+
@can('list-schedules', $server)
150150
<li
151151
@if(starts_with(Route::currentRouteName(), 'server.schedules'))
152152
class="active"

0 commit comments

Comments
 (0)