App\Policies\ExpenseCategoryPolicy::editByOwner PHP Méthode

editByOwner() public static méthode

public static editByOwner ( User $user, $ownerUserId ) : boolean
$user app\models\User
$ownerUserId
Résultat boolean
    public static function editByOwner(User $user, $ownerUserId)
    {
        return $user->is_admin;
    }