src/Services/Back/AccessService.php
public function attachToObject($request, $item)
    {
        if ($request->filled('access')) {
            $item->removeAccess();

            foreach ($request->get('access') as $field => $access) {
                $item->addAccess($field, $access);
            }
        } else {
            $item->removeAccess();
        }
    }
public function attachToObject($request, $item)
    {
        if ($request->filled('access')) {
            $item->removeAccess();

            foreach ($request->get('access') as $field => $access) {
                $item->addAccess($field, $access);
            }
        } else {
            $item->removeAccess();
        }
    }
Присваиваем доступы объекту.

@param $request

@param $item