Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(portal): setting item access to public shares correctly #609

Merged
merged 1 commit into from
Aug 8, 2019

Conversation

dmfenton
Copy link
Contributor

@dmfenton dmfenton commented Aug 8, 2019

Currently whe sharing a item w/ access public, the library requests everyone=true&org=true. Unfortunately, these appear to cancel each other out and the item is not shared at all. The ArcGIS Onlie Home app sets account=true and everyone=true when sharing publicly. This PR follows suit with the Home App.

@dmfenton dmfenton requested a review from tomwayson August 8, 2019 13:24
@codecov
Copy link

codecov bot commented Aug 8, 2019

Codecov Report

Merging #609 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #609   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          97     97           
  Lines        1452   1452           
  Branches      253    253           
=====================================
  Hits         1452   1452
Impacted Files Coverage Δ
packages/arcgis-rest-portal/src/sharing/access.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1635eb2...6a2b115. Read the comment docs.

@tomwayson tomwayson merged commit 025406e into master Aug 8, 2019
@tomwayson tomwayson deleted the bug/item-access branch August 8, 2019 15:29
@dmfenton
Copy link
Contributor Author

dmfenton commented Aug 8, 2019

Thanks @tomwayson, how do we release this thang?

@tomwayson
Copy link
Member

tomwayson commented Aug 8, 2019

I am cutting a release w/ the other recently merged PRs b/c it looks like something didn't go right w/ the last release:

https://github.com/Esri/arcgis-rest-js/releases/tag/v2.2.1

"version": "2.2.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants