public function syncPermissions(array $permissions) { return $this->permissions()->sync($permissions); }