Esri / data-collection-ios

Mobile data collection app using the iOS Runtime SDK.
https://developers.arcgis.com/
Apache License 2.0
25 stars 26 forks source link

Look into why Log Out action does not rebuild new map from portal #30

Closed esreli closed 5 years ago

esreli commented 6 years ago

It appears this only happens with web maps that are not public. This is not an issue for Trees of Portland but might be something that other organizations might need to face.

esreli commented 6 years ago

@zinfin @mikewilburn is this something I should investigate? It is not directly pertinent to Trees of Portland but someone else using a private map might experience this issue. Feature creep? or Future proofing?

mikewilburn commented 6 years ago

My feeling is that this isn't feature creep since this is a behavior we'd want to app to exhibit, essentially this test case: https://github.com/ArcGIS/runtime-example-apps/wiki/Mobile-Data-Collection-test-design#313-accessing-a-private-web-map-back-to-top

If the user logs out, access to that private web map should be revoked. I think it's worth investigating.

esreli commented 5 years ago

Re-architecting authentication solved this issue. Closing this issue as it is no longer relevant.