dienstplan/app/Policies/EintragPolicy.php
2017-06-15 12:47:36 +02:00

60 lines
1.1 KiB
PHP

<?php
namespace App\Policies;
use App\User;
use App\Eintragung;
use Illuminate\Auth\Access\HandlesAuthorization;
class EintragPolicy
{
use HandlesAuthorization;
/**
* Determine whether the user can view the eintragung.
*
* @param \App\User $user
* @param \App\Eintragung $eintragung
* @return mixed
*/
public function view(User $user, Eintragung $eintragung)
{
//
}
/**
* Determine whether the user can create eintragungs.
*
* @param \App\User $user
* @return mixed
*/
public function create(User $user)
{
//
}
/**
* Determine whether the user can update the eintragung.
*
* @param \App\User $user
* @param \App\Eintragung $eintragung
* @return mixed
*/
public function update(User $user, Eintragung $eintragung)
{
//
}
/**
* Determine whether the user can delete the eintragung.
*
* @param \App\User $user
* @param \App\Eintragung $eintragung
* @return mixed
*/
public function delete(User $user, Eintragung $eintragung)
{
//
}
}