Esri / arcgis-python-api

Documentation and samples for ArcGIS API for Python
https://developers.arcgis.com/python/
Apache License 2.0
1.89k stars 1.1k forks source link

GroupManager create() function parameter membership_access is not honoured with None value #1590

Closed Clubdebambos closed 1 year ago

Clubdebambos commented 1 year ago

Describe the bug When calling the create() function from the GroupManager the membership_access parameter is supposed to be set to None that will allow Any organization's members join the group. This is not the case, the default is org. Even if you use the GroupManager update() function with the membership_access parameter set to None it is not honoured. There is no way to use the create() or update() functions to allow Any organization's members join the group.

To Reproduce from arcgis.gis import GIS

agol = GIS("home")

agol.groups.create( title = "Test_Group", tags = ["Group", "Training"] )

error: No error is produced, it simply does not do what is supposed to but will create the group with membershipAccess property set to org

Screenshots The default should be Any organization's members according to the documentation. But it is org.

image

Expected behavior The default or setting membership_access to None should set the Who can be in this group? to Any organization's members

Platform (please complete the following information):

Additional context The GroupManager update() function does not update the membership_access to None either.

nanaeaubry commented 1 year ago

Hello this has been reported and addressed already here: https://github.com/Esri/arcgis-python-api/issues/1581

It's good to go in the next release :) Thanks!