Using a reconcile / post in relation to web apps

I am trying to figure out the best way to create web maps with editing capabilities for our operators out in the field. Similar to a QA/QC type of situation. From what I've read and tried the only way to allow our operators editing access is by creating a version called [Operators] and publishing it with full editing capabilities. Please correct me if there is a better way to do it. And the other thing is the reconcile / post maintenance script we have. The script does a full compression every 2 weeks. Essentially it's deleting all the versions. If it's deleting the version [Operator] does that mean the web map will not work? Does anyone happen to know a workflow that will be useful?

print("Starting Rebuild Indexes")# Get a list of all the datasets the user has access to.# First, get all the stand alone tables, feature classes and rasters.dataList = arcpy.ListTables() + arcpy.ListFeatureClasses() + arcpy.ListRasters()

# Next, for feature datasets get all of the datasets and featureclasses# from the list and add them to the master list.for dataset in arcpy.ListDatasets("", "Feature"): arcpy.env.workspace = os.path.join(adminConn,dataset) dataList += arcpy.ListFeatureClasses() + arcpy.ListDatasets()

# Get the user name for the workspaceuserName = arcpy.Describe(adminConn).connectionProperties.user.lower()

# remove any datasets that are not owned by the connected user.userDataList = [ds for ds in dataList if ds.lower().find(".%s." % userName) > -1]

# Execute rebuild indexes# Note: to use the "SYSTEM" option the workspace user must be an administrator.arcpy.RebuildIndexes_management(adminConn, "SYSTEM", userDataList, "ALL")print('Rebuild Complete')

# Update statistics on the system tablesprint("Updating statistics on the system tables")# Execute analyze datasets# Note: to use the "SYSTEM" option the workspace user must be an administrator.arcpy.AnalyzeDatasets_management(adminConn, "SYSTEM", userDataList, "ANALYZE_BASE","ANALYZE_DELTA","ANALYZE_ARCHIVE")print("Analyze Complete")

I believe the service that was created from the Operator version will no longer work if that version no longer exists. You could add onto the script to recreate the version after the compression. See an example in the below link: