. */ namespace Poniverse\Ponyfm\Policies; use Poniverse\Ponyfm\Genre; use Poniverse\Ponyfm\User; class GenrePolicy { public function rename(User $user, Genre $genre) { return $user->hasRole('admin'); } }