laptop and a wrench

Bug

Changing the role in Portal for ArcGIS from Viewer to Data Editor via Python (user.update_role) only affects the displayed role in Portal for ArcGIS, but does not change the privilege.

Last Published: November 27, 2020 Portal for ArcGIS
Bug ID Number BUG-000133482
SubmittedSeptember 1, 2020
Last ModifiedJune 5, 2024
Applies toPortal for ArcGIS
Version found10.7.1
Operating SystemWindows OS
Operating System Version2019 64 Bit
StatusNon-Reproducible

Additional Information

Described situation does not occur with API for Python release 1.8.3 connecting to an Enterprise 10.8.1. An admin is able to create a new user with the viewer role and user_type, then use the update_role() and update_license_type() functions to update the user to an editor role and user_type. After reconnecting as the new user and retrieving a feature layer, the editor could update a feature layer.

Steps to Reproduce

Bug ID: BUG-000133482

Software:

  • Portal for ArcGIS

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options