Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
alkadoHs committed Mar 4, 2024
1 parent 325866c commit 1111e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Policies/ProductPolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function create(User $user): bool

public function update(User $user, Product $product): bool
{
return $user->role == 'admin' || $user->role == 'seller';
return $user->role == 'admin' || $user->role == 'superuser';
}


Expand Down

0 comments on commit 1111e41

Please sign in to comment.