Open pfoppe opened 7 years ago
@pfoppe I am working on addressing this in #66
Addressed in the latest release. Please verify and close @pfoppe if you no longer have the issue.
Hi @slibby ,
Thanks for engaging this issue. I downgraded my AGOL "SAML account" (enterprise logins) to a custom "contributor" role that has the following privileges:
"features:user:edit", "portal:user:createItem", "portal:user:joinGroup", "portal:user:joinNonOrgGroup", "portal:user:shareToGroup", "portal:user:viewOrgGroups", "portal:user:viewOrgItems", "portal:user:viewOrgUsers", "premium:user:demographics", "premium:user:elevation", "premium:user:geocode", "premium:user:geoenrichment", "premium:user:networkanalysis", "premium:user:spatialanalysis"
and tested the latest downloadable version (v1.3.30), however it throws the same error message:
I think my account has 2 of the 3 required privs ("create content" via portal:user:createItem and "share with groups" via portal:user:shareToGroup) but does not have the Publish Hosted feature layer privilege.
What is the 'latest version'? Thoughts? Thanks.
@defiantgoat at https://github.com/Esri/TilePackageKreator/blob/b7531b7aa831983474ab4dd500c46d8f918919e5/Portal/Portal.qml#L570 the app appears to be checking for the ability to create a hosted service. I believe this can be removed - do you agree?
@slibby Yes. Many of those can be removed actually I think.
The Application throws the following error when a user does not have the "Publish Hosted Feature Layers" capability:
but it does not seem that this application created hosted feature layers. It only allows for the .tpk file to be uploaded to a users content (as an item, not as a hosted service). Are these permissions really required? Can the app be modified to not require these permissions since hosted layers are not actually being created?
Thanks for the consideration.