mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Fixes some permissions stuff
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
|
||||
namespace Pterodactyl\Providers;
|
||||
|
||||
use Pterodactyl\Models\Server;
|
||||
use Pterodactyl\Policies\ServerPolicy;
|
||||
|
||||
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
|
||||
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
|
||||
|
||||
@@ -16,8 +13,7 @@ class AuthServiceProvider extends ServiceProvider
|
||||
* @var array
|
||||
*/
|
||||
protected $policies = [
|
||||
'Pterodactyl\Model' => 'Pterodactyl\Policies\ModelPolicy',
|
||||
Server::class => ServerPolicy::class,
|
||||
'Pterodactyl\Models\Server' => 'Pterodactyl\Policies\ServerPolicy'
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user