feat: adds ability for approved users to approve artwork

This commit is contained in:
2024-01-13 10:45:40 -06:00
parent bc66edb3ce
commit eb931bbb6a
9 changed files with 198 additions and 87 deletions

View File

@@ -4,6 +4,8 @@ namespace App\Providers;
// use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use App\Policies\ArtworkPolicy;
use App\Models\Artwork;
class AuthServiceProvider extends ServiceProvider
{
@@ -13,7 +15,7 @@ class AuthServiceProvider extends ServiceProvider
* @var array<class-string, class-string>
*/
protected $policies = [
//
Artwork::class => ArtworkPolicy::class,
];
/**