4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-14 13:16:37 +00:00

Fixes #4905 -- Loosen permissions of quota view.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-12-21 14:14:44 -06:00
parent 82a8d1cb52
commit 9dc128adf4
No known key found for this signature in database
GPG Key ID: 9FC8B9E008872109

View File

@ -59,7 +59,7 @@ return static function (RouteCollectorProxy $group) {
$group->get('/quota[/{type}]', Controller\Api\Stations\GetQuotaAction::class)
->setName('api:stations:quota')
->add(new Middleware\Permissions(Acl::STATION_PROFILE, true));
->add(new Middleware\Permissions(Acl::STATION_VIEW, true));
$group->get('/schedule', Controller\Api\Stations\ScheduleAction::class)
->setName('api:stations:schedule');