Skip to content

Commit

Permalink
Remove MediaFile model
Browse files Browse the repository at this point in the history
  • Loading branch information
gdarko committed Jun 2, 2024
1 parent 0bb32b2 commit 38f858f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
33 changes: 0 additions & 33 deletions app/Models/MediaFile.php

This file was deleted.

2 changes: 0 additions & 2 deletions database/seeders/BouncerSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Database\Seeders;

use App\Models\MediaFile;
use App\Models\User;
use Bouncer;
use Illuminate\Database\Seeder;
Expand All @@ -15,7 +14,6 @@ class BouncerSeeder extends Seeder
public function run(): void
{
Bouncer::allow('admin')->everything();
Bouncer::allow('regular')->toOwn(MediaFile::class)->to(['list', 'view', 'create', 'edit', 'delete']);
Bouncer::allow('regular')->to('edit-profile', User::class);
}
}

0 comments on commit 38f858f

Please sign in to comment.