Select to view content in your preferred language

Can Non-Admins copy content?

619
1
Jump to solution
04-04-2023 06:40 AM
Labels (1)
SH_DH
by
Emerging Contributor

Hi there - I have a script to automate the creation of groups/maps/hosted feature services in a standardized way for my organization. Part of this process involves making a copy of a hosted feature service shared in a group. I am using the code:

.copy_feature_layer_collection()

It works as an Admin, but when logged in under Facilitator/Publisher roles it returns the error: 

User does not have permissions to access this service
(Error Code: 403)

Is there an alternate way for non-admins to copy hosted feature services to their own accounts? Otherwise I will look to make these users admins.

GIS login is using organization SAML ("Pro"), however requesting tokens using named logins doesn't work either.

0 Kudos
1 Solution

Accepted Solutions
David_McRitchie
Esri Contributor

Within the API I do not believe there is any way that this can be done without Admin privileges. The Developer documentation only refers to this process being possible by admins - https://developers.arcgis.com/python/guide/cloning-content/

Esri UK -Technical Support Analyst

View solution in original post

0 Kudos
1 Reply
David_McRitchie
Esri Contributor

Within the API I do not believe there is any way that this can be done without Admin privileges. The Developer documentation only refers to this process being possible by admins - https://developers.arcgis.com/python/guide/cloning-content/

Esri UK -Technical Support Analyst
0 Kudos