laptop and a wrench

Bug

The 'in_public' argument of the 'arcpy.server.UploadServiceDefinition' method used for publishing services to a non-federated ArcGIS Server poses a security risk.

ArcGIS Pro
Bug-ID-Nummer BUG-000163126
EingereichtNovember 21, 2023
Zuletzt geändertMay 14, 2026
Gilt fürArcGIS Pro
Gefunden in Version3.6.1
BetriebssystemWindows Server
Betriebssystemversion2019 64 Bit
StatusAs Designed

Zusätzliche Informationen

As mentioned in the documentation, the in_public parameter is only applicable to web layers and web tools. This is similar to the in_override, in_my_contents, in_organization, in_groups, and in_item_id parameters. When publishing a service to a standalone server, even from the user interface (UI), there is no option to set sharing options. Permissions on a standalone server (not federated with a portal) work differently. Refer to this documentation for more information: https://enterprise.arcgis.com/en/server/latest/administer/windows/editing-permissions-in-manager.htm.

Schritte zur Reproduzierung

Bug-ID: BUG-000163126

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln