hasPermission('role.view'); } public function view(User $user, Role $role): bool { return $user->hasPermission('role.view'); } public function create(User $user): bool { return $user->hasPermission('role.create'); } public function update(User $user, Role $role): bool { return $user->hasPermission('role.update'); } public function delete(User $user, Role $role): bool { return $user->hasPermission('role.delete'); } }