From 98b36a1ec89e9f4150feb130114f523d2ddee23c Mon Sep 17 00:00:00 2001 From: JonasVHG <4658984+JonasVHG@users.noreply.github.com> Date: Tue, 6 Aug 2024 10:29:05 +0200 Subject: [PATCH] rename uiTdatabankOrganizerPolicy to UdbOrganizerPolicy --- ...{UiTdatabankOrganizerPolicy.php => UdbOrganizerPolicy.php} | 2 +- app/Providers/AuthServiceProvider.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename app/Domain/Integrations/Policies/{UiTdatabankOrganizerPolicy.php => UdbOrganizerPolicy.php} (96%) diff --git a/app/Domain/Integrations/Policies/UiTdatabankOrganizerPolicy.php b/app/Domain/Integrations/Policies/UdbOrganizerPolicy.php similarity index 96% rename from app/Domain/Integrations/Policies/UiTdatabankOrganizerPolicy.php rename to app/Domain/Integrations/Policies/UdbOrganizerPolicy.php index 1c09ce49f..95f0469ac 100644 --- a/app/Domain/Integrations/Policies/UiTdatabankOrganizerPolicy.php +++ b/app/Domain/Integrations/Policies/UdbOrganizerPolicy.php @@ -7,7 +7,7 @@ use App\Domain\Auth\Models\UserModel; use App\Domain\Integrations\Models\UdbOrganizerModel; -final class UiTdatabankOrganizerPolicy +final class UdbOrganizerPolicy { public function viewAny(UserModel $userModel): bool { diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 5539b8cee..0460c3c92 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -18,7 +18,7 @@ use App\Domain\Integrations\Models\UdbOrganizerModel; use App\Domain\Integrations\Policies\IntegrationPolicy; use App\Domain\Integrations\Policies\IntegrationUrlPolicy; -use App\Domain\Integrations\Policies\UiTdatabankOrganizerPolicy; +use App\Domain\Integrations\Policies\UdbOrganizerPolicy; use App\Domain\KeyVisibilityUpgrades\Models\KeyVisibilityUpgradeModel; use App\Domain\KeyVisibilityUpgrades\Policies\KeyVisibilityUpgradePolicy; use App\Domain\Organizations\Models\OrganizationModel; @@ -45,7 +45,7 @@ final class AuthServiceProvider extends ServiceProvider IntegrationModel::class => IntegrationPolicy::class, IntegrationUrlModel::class => IntegrationUrlPolicy::class, OrganizationModel::class => OrganizationPolicy::class, - UdbOrganizerModel::class => UiTdatabankOrganizerPolicy::class, + UdbOrganizerModel::class => UdbOrganizerPolicy::class, SubscriptionModel::class => SubscriptionPolicy::class, UiTiDv1ConsumerModel::class => UiTiDv1ConsumerPolicy::class, Auth0ClientModel::class => Auth0ClientPolicy::class,