                    $query->where('permission', 'not like', 'category%')
                        ->where('permission', 'not like', 'switch.%');
                }]);
            }
        }

        return $query->where('id', $inputs['id'])->first();
    }