From ad9ed5ea0049e9fd267648b5cafddd3b7123a6f5 Mon Sep 17 00:00:00 2001 From: Stan Date: Sat, 30 Jun 2018 22:23:48 +0200 Subject: [PATCH] Fixed the permission (#1217) --- CHANGELOG.md | 1 + resources/themes/pterodactyl/layouts/master.blade.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27eca5765..5b1142c87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines. ### Fixed * Hitting Ctrl+Z when editing a file on the web now works as expected. * Logo now links to the correct location on all pages. +* Permissions checking to determine if a user can see the task management page now works correctly. ### Changed * Attempting to upload a folder via the web file manager will now display a warning telling the user to use SFTP. diff --git a/resources/themes/pterodactyl/layouts/master.blade.php b/resources/themes/pterodactyl/layouts/master.blade.php index 644cb5bca..15d88b96b 100644 --- a/resources/themes/pterodactyl/layouts/master.blade.php +++ b/resources/themes/pterodactyl/layouts/master.blade.php @@ -146,7 +146,7 @@ @endcan - @can('list-tasks', $server) + @can('list-schedules', $server)