Skip to content

Conversation

@rfontanarosa
Copy link
Collaborator

@rfontanarosa rfontanarosa commented Sep 12, 2025

closes #2244

Survey's General Access

  • Public or Unlisted: Every user can export
  • Restricted: Only users with a role can export

Survey's Data Visibility + User's Role

  • Role:Organizer: Doesn't check the ownership
  • Role:Collector and Role:Viewer: Check the data visibility
  • DataVisibility:AllSurveyParticipants: Users can see each other data
  • DataVisibility:ContributorsAndOrganizers: Check the ownership ONLY if user is not Survey Organizer

LOI's Source

  • Imported: Doesn't check the ownership
  • Field Data: Check the ownership

@rfontanarosa rfontanarosa requested a review from gino-m September 16, 2025 12:29
@rfontanarosa rfontanarosa requested a review from gino-m September 23, 2025 18:00
@rfontanarosa rfontanarosa requested a review from gino-m September 23, 2025 18:31
@rfontanarosa rfontanarosa changed the title Allows Viewers to export into GeoJSON and CSV formats Allow Viewers to export into GeoJSON and CSV formats Sep 24, 2025
@rfontanarosa rfontanarosa changed the title Allow Viewers to export into GeoJSON and CSV formats Allow viewers to export into GeoJSON and CSV formats Sep 24, 2025
Copy link
Collaborator

@gino-m gino-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small suggestions

used one condition instead of ifs
@rfontanarosa rfontanarosa requested a review from gino-m September 26, 2025 14:19
@rfontanarosa rfontanarosa merged commit a311521 into master Oct 3, 2025
5 checks passed
@rfontanarosa rfontanarosa deleted the rfontanarosa/2244/viewer-cant-see-collected-data branch October 3, 2025 14:52
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.

Viewer can't see collected data

3 participants